Last active
April 20, 2016 12:36
-
-
Save Renrhaf/0de8fa0543eca805b5d84669d214f1d1 to your computer and use it in GitHub Desktop.
AFOUND-701
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/modules/custom/scald_atoms_arte_fields/scald_atoms_arte_fields.features.field_base.inc b/modules/custom/scald_atoms_arte_fields/scald_atoms_arte_fields.features.field_base.inc | |
index d4ea8f3..9f0586c 100644 | |
--- a/modules/custom/scald_atoms_arte_fields/scald_atoms_arte_fields.features.field_base.inc | |
+++ b/modules/custom/scald_atoms_arte_fields/scald_atoms_arte_fields.features.field_base.inc | |
@@ -253,6 +253,39 @@ function scald_atoms_arte_fields_field_default_field_bases() { | |
'type' => 'text', | |
); | |
+ // Exported field_base: 'field_image_rights_until'. | |
+ $field_bases['field_image_rights_until'] = array( | |
+ 'active' => 1, | |
+ 'cardinality' => 1, | |
+ 'deleted' => 0, | |
+ 'entity_types' => array(), | |
+ 'field_name' => 'field_image_rights_until', | |
+ 'field_permissions' => array( | |
+ 'type' => 0, | |
+ ), | |
+ 'indexes' => array(), | |
+ 'locked' => 0, | |
+ 'module' => 'date', | |
+ 'settings' => array( | |
+ 'cache_count' => 4, | |
+ 'cache_enabled' => 0, | |
+ 'entity_translation_sync' => FALSE, | |
+ 'granularity' => array( | |
+ 'day' => 'day', | |
+ 'hour' => 'hour', | |
+ 'minute' => 'minute', | |
+ 'month' => 'month', | |
+ 'second' => 'second', | |
+ 'year' => 'year', | |
+ ), | |
+ 'timezone_db' => 'UTC', | |
+ 'todate' => '', | |
+ 'tz_handling' => 'site', | |
+ ), | |
+ 'translatable' => 0, | |
+ 'type' => 'datestamp', | |
+ ); | |
+ | |
// Exported field_base: 'field_image_copyright'. | |
$field_bases['field_image_copyright'] = array( | |
'active' => 1, | |
diff --git a/modules/custom/scald_atoms_arte_fields/scald_atoms_arte_fields.features.field_instance.inc b/modules/custom/scald_atoms_arte_fields/scald_atoms_arte_fields.features.field_instance.inc | |
index 8400d36..a112439 100644 | |
--- a/modules/custom/scald_atoms_arte_fields/scald_atoms_arte_fields.features.field_instance.inc | |
+++ b/modules/custom/scald_atoms_arte_fields/scald_atoms_arte_fields.features.field_instance.inc | |
@@ -605,6 +605,48 @@ function scald_atoms_arte_fields_field_default_field_instances() { | |
), | |
); | |
+ // Exported field_instance: 'scald_atom-image-field_image_rights_until'. | |
+ $field_instances['scald_atom-image-field_image_rights_until'] = array( | |
+ 'bundle' => 'image', | |
+ 'deleted' => 0, | |
+ 'description' => '', | |
+ 'display' => array( | |
+ 'default' => array( | |
+ 'label' => 'above', | |
+ 'settings' => array(), | |
+ 'type' => 'hidden', | |
+ 'weight' => 10, | |
+ ), | |
+ ), | |
+ 'entity_type' => 'scald_atom', | |
+ 'field_name' => 'field_image_rights_until', | |
+ 'label' => 'Rights until', | |
+ 'required' => 0, | |
+ 'settings' => array( | |
+ 'default_value' => 'blank', | |
+ 'default_value2' => 'same', | |
+ 'default_value_code' => '', | |
+ 'default_value_code2' => '', | |
+ 'entity_translation_sync' => FALSE, | |
+ 'user_register_form' => FALSE, | |
+ ), | |
+ 'widget' => array( | |
+ 'active' => 1, | |
+ 'module' => 'date', | |
+ 'settings' => array( | |
+ 'increment' => 15, | |
+ 'input_format' => 'm/d/Y - H:i:s', | |
+ 'input_format_custom' => '', | |
+ 'label_position' => 'above', | |
+ 'no_fieldset' => 0, | |
+ 'text_parts' => array(), | |
+ 'year_range' => '-3:+3', | |
+ ), | |
+ 'type' => 'date_popup', | |
+ 'weight' => 6, | |
+ ), | |
+ ); | |
+ | |
// Exported field_instance: 'scald_atom-image-field_image_legend'. | |
$field_instances['scald_atom-image-field_image_legend'] = array( | |
'bundle' => 'image', | |
diff --git a/modules/custom/scald_atoms_arte_fields/scald_atoms_arte_fields.info b/modules/custom/scald_atoms_arte_fields/scald_atoms_arte_fields.info | |
index 52ddbce..e52779f 100644 | |
--- a/modules/custom/scald_atoms_arte_fields/scald_atoms_arte_fields.info | |
+++ b/modules/custom/scald_atoms_arte_fields/scald_atoms_arte_fields.info | |
@@ -28,6 +28,7 @@ features[field_base][] = field_audio_rights_until | |
features[field_base][] = field_audio_start_date | |
features[field_base][] = field_iframe_copyright | |
features[field_base][] = field_iframe_legend | |
+features[field_base][] = field_image_rights_until | |
features[field_base][] = field_image_copyright | |
features[field_base][] = field_image_legend | |
features[field_base][] = field_video_disabled | |
@@ -61,6 +62,7 @@ features[field_instance][] = scald_atom-iframe-scald_tags | |
features[field_instance][] = scald_atom-iframe-scald_thumbnail | |
features[field_instance][] = scald_atom-iframe-scald_url | |
features[field_instance][] = scald_atom-iframe-scald_width | |
+features[field_instance][] = scald_atom-image-field_image_rights_until | |
features[field_instance][] = scald_atom-image-field_image_copyright | |
features[field_instance][] = scald_atom-image-field_image_legend | |
features[field_instance][] = scald_atom-image-scald_tags |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment