2077 lines
54 KiB
PHP
2077 lines
54 KiB
PHP
<?php
|
|
/**
|
|
* @file
|
|
* debut_media.features.field.inc
|
|
*/
|
|
|
|
/**
|
|
* Implements hook_field_default_fields().
|
|
*/
|
|
function debut_media_field_default_fields() {
|
|
$fields = array();
|
|
|
|
// Exported field: 'file-application-field_tags'
|
|
$fields['file-application-field_tags'] = array(
|
|
'field_config' => array(
|
|
'active' => '1',
|
|
'cardinality' => '-1',
|
|
'deleted' => '0',
|
|
'entity_types' => array(),
|
|
'field_name' => 'field_tags',
|
|
'foreign keys' => array(
|
|
'tid' => array(
|
|
'columns' => array(
|
|
'tid' => 'tid',
|
|
),
|
|
'table' => 'taxonomy_term_data',
|
|
),
|
|
),
|
|
'indexes' => array(
|
|
'tid' => array(
|
|
0 => 'tid',
|
|
),
|
|
),
|
|
'module' => 'taxonomy',
|
|
'settings' => array(
|
|
'allowed_values' => array(
|
|
0 => array(
|
|
'vocabulary' => 'tags',
|
|
'parent' => 0,
|
|
),
|
|
),
|
|
),
|
|
'translatable' => '0',
|
|
'type' => 'taxonomy_term_reference',
|
|
),
|
|
'field_instance' => array(
|
|
'bundle' => 'application',
|
|
'default_value' => NULL,
|
|
'deleted' => '0',
|
|
'description' => 'Enter a comma-separated list of words to describe your video.',
|
|
'display' => array(
|
|
'default' => array(
|
|
'label' => 'inline',
|
|
'module' => 'taxonomy',
|
|
'settings' => array(),
|
|
'type' => 'taxonomy_term_reference_link',
|
|
'weight' => '3',
|
|
),
|
|
'full' => array(
|
|
'label' => 'inline',
|
|
'module' => 'taxonomy',
|
|
'settings' => array(),
|
|
'type' => 'taxonomy_term_reference_link',
|
|
'weight' => '3',
|
|
),
|
|
'media_large' => array(
|
|
'label' => 'above',
|
|
'settings' => array(),
|
|
'type' => 'hidden',
|
|
'weight' => '3',
|
|
),
|
|
'media_link' => array(
|
|
'label' => 'above',
|
|
'settings' => array(),
|
|
'type' => 'hidden',
|
|
'weight' => '0',
|
|
),
|
|
'media_original' => array(
|
|
'label' => 'inline',
|
|
'module' => 'taxonomy',
|
|
'settings' => array(),
|
|
'type' => 'taxonomy_term_reference_link',
|
|
'weight' => '3',
|
|
),
|
|
'media_preview' => array(
|
|
'label' => 'above',
|
|
'settings' => array(),
|
|
'type' => 'hidden',
|
|
'weight' => '3',
|
|
),
|
|
'media_small' => array(
|
|
'label' => 'above',
|
|
'settings' => array(),
|
|
'type' => 'hidden',
|
|
'weight' => '3',
|
|
),
|
|
),
|
|
'entity_type' => 'file',
|
|
'field_name' => 'field_tags',
|
|
'label' => 'Tags',
|
|
'required' => FALSE,
|
|
'settings' => array(
|
|
'user_register_form' => FALSE,
|
|
),
|
|
'widget' => array(
|
|
'module' => 'taxonomy',
|
|
'settings' => array(
|
|
'autocomplete_path' => 'taxonomy/autocomplete',
|
|
'size' => 60,
|
|
),
|
|
'type' => 'taxonomy_autocomplete',
|
|
'weight' => -2,
|
|
),
|
|
),
|
|
);
|
|
|
|
// Exported field: 'file-application-media_description'
|
|
$fields['file-application-media_description'] = array(
|
|
'field_config' => array(
|
|
'active' => '1',
|
|
'cardinality' => '1',
|
|
'deleted' => '0',
|
|
'entity_types' => array(),
|
|
'field_name' => 'media_description',
|
|
'foreign keys' => array(
|
|
'format' => array(
|
|
'columns' => array(
|
|
'format' => 'format',
|
|
),
|
|
'table' => 'filter_format',
|
|
),
|
|
),
|
|
'indexes' => array(
|
|
'format' => array(
|
|
0 => 'format',
|
|
),
|
|
),
|
|
'module' => 'text',
|
|
'settings' => array(),
|
|
'translatable' => '1',
|
|
'type' => 'text_long',
|
|
),
|
|
'field_instance' => array(
|
|
'bundle' => 'application',
|
|
'default_value' => NULL,
|
|
'deleted' => '0',
|
|
'description' => '',
|
|
'display' => array(
|
|
'default' => array(
|
|
'label' => 'hidden',
|
|
'module' => 'text',
|
|
'settings' => array(),
|
|
'type' => 'text_default',
|
|
'weight' => '2',
|
|
),
|
|
'full' => array(
|
|
'label' => 'hidden',
|
|
'module' => 'text',
|
|
'settings' => array(),
|
|
'type' => 'text_default',
|
|
'weight' => '2',
|
|
),
|
|
'media_gallery_detail' => array(
|
|
'label' => 'above',
|
|
'module' => 'text',
|
|
'settings' => array(),
|
|
'type' => 'text_default',
|
|
'weight' => 1,
|
|
),
|
|
'media_gallery_lightbox' => array(
|
|
'label' => 'above',
|
|
'module' => 'text',
|
|
'settings' => array(),
|
|
'type' => 'text_default',
|
|
'weight' => 1,
|
|
),
|
|
'media_gallery_thumbnail' => array(
|
|
'label' => 'above',
|
|
'module' => 'text',
|
|
'settings' => array(),
|
|
'type' => 'text_default',
|
|
'weight' => 1,
|
|
),
|
|
'media_large' => array(
|
|
'label' => 'above',
|
|
'settings' => array(),
|
|
'type' => 'hidden',
|
|
'weight' => '2',
|
|
),
|
|
'media_link' => array(
|
|
'label' => 'above',
|
|
'settings' => array(),
|
|
'type' => 'hidden',
|
|
'weight' => '0',
|
|
),
|
|
'media_original' => array(
|
|
'label' => 'hidden',
|
|
'module' => 'text',
|
|
'settings' => array(),
|
|
'type' => 'text_default',
|
|
'weight' => '2',
|
|
),
|
|
'media_preview' => array(
|
|
'label' => 'above',
|
|
'settings' => array(),
|
|
'type' => 'hidden',
|
|
'weight' => '2',
|
|
),
|
|
'media_small' => array(
|
|
'label' => 'above',
|
|
'settings' => array(),
|
|
'type' => 'hidden',
|
|
'weight' => '2',
|
|
),
|
|
),
|
|
'entity_type' => 'file',
|
|
'field_name' => 'media_description',
|
|
'label' => 'Description',
|
|
'required' => FALSE,
|
|
'settings' => array(
|
|
'text_processing' => 0,
|
|
'user_register_form' => FALSE,
|
|
),
|
|
'widget' => array(
|
|
'module' => 'text',
|
|
'settings' => array(
|
|
'rows' => 4,
|
|
),
|
|
'type' => 'text_textarea',
|
|
'weight' => -3,
|
|
),
|
|
),
|
|
);
|
|
|
|
// Exported field: 'file-application-media_title'
|
|
$fields['file-application-media_title'] = array(
|
|
'field_config' => array(
|
|
'active' => '1',
|
|
'cardinality' => '1',
|
|
'deleted' => '0',
|
|
'entity_types' => array(),
|
|
'field_name' => 'media_title',
|
|
'foreign keys' => array(
|
|
'format' => array(
|
|
'columns' => array(
|
|
'format' => 'format',
|
|
),
|
|
'table' => 'filter_format',
|
|
),
|
|
),
|
|
'indexes' => array(
|
|
'format' => array(
|
|
0 => 'format',
|
|
),
|
|
),
|
|
'module' => 'text',
|
|
'settings' => array(
|
|
'max_length' => '255',
|
|
),
|
|
'translatable' => '1',
|
|
'type' => 'text',
|
|
),
|
|
'field_instance' => array(
|
|
'bundle' => 'application',
|
|
'default_value' => NULL,
|
|
'deleted' => '0',
|
|
'description' => '',
|
|
'display' => array(
|
|
'default' => array(
|
|
'label' => 'hidden',
|
|
'settings' => array(),
|
|
'type' => 'hidden',
|
|
'weight' => '1',
|
|
),
|
|
'full' => array(
|
|
'label' => 'hidden',
|
|
'settings' => array(),
|
|
'type' => 'hidden',
|
|
'weight' => '1',
|
|
),
|
|
'media_gallery_detail' => array(
|
|
'label' => 'hidden',
|
|
'module' => 'text',
|
|
'settings' => array(),
|
|
'type' => 'text_default',
|
|
'weight' => 0,
|
|
),
|
|
'media_gallery_lightbox' => array(
|
|
'label' => 'hidden',
|
|
'module' => 'text',
|
|
'settings' => array(),
|
|
'type' => 'text_default',
|
|
'weight' => 0,
|
|
),
|
|
'media_gallery_thumbnail' => array(
|
|
'label' => 'hidden',
|
|
'module' => 'text',
|
|
'settings' => array(),
|
|
'type' => 'text_default',
|
|
'weight' => 0,
|
|
),
|
|
'media_large' => array(
|
|
'label' => 'hidden',
|
|
'module' => 'text',
|
|
'settings' => array(),
|
|
'type' => 'text_default',
|
|
'weight' => '1',
|
|
),
|
|
'media_link' => array(
|
|
'label' => 'above',
|
|
'settings' => array(),
|
|
'type' => 'hidden',
|
|
'weight' => '0',
|
|
),
|
|
'media_original' => array(
|
|
'label' => 'hidden',
|
|
'module' => 'text',
|
|
'settings' => array(),
|
|
'type' => 'text_default',
|
|
'weight' => '1',
|
|
),
|
|
'media_preview' => array(
|
|
'label' => 'hidden',
|
|
'module' => 'text',
|
|
'settings' => array(),
|
|
'type' => 'text_default',
|
|
'weight' => '1',
|
|
),
|
|
'media_small' => array(
|
|
'label' => 'above',
|
|
'settings' => array(),
|
|
'type' => 'hidden',
|
|
'weight' => '1',
|
|
),
|
|
),
|
|
'entity_type' => 'file',
|
|
'field_name' => 'media_title',
|
|
'label' => 'Title',
|
|
'required' => FALSE,
|
|
'settings' => array(
|
|
'text_processing' => 0,
|
|
'user_register_form' => FALSE,
|
|
),
|
|
'widget' => array(
|
|
'module' => 'text',
|
|
'settings' => array(
|
|
'size' => 60,
|
|
),
|
|
'type' => 'text_textfield',
|
|
'weight' => -4,
|
|
),
|
|
),
|
|
);
|
|
|
|
// Exported field: 'file-audio-field_tags'
|
|
$fields['file-audio-field_tags'] = array(
|
|
'field_config' => array(
|
|
'active' => '1',
|
|
'cardinality' => '-1',
|
|
'deleted' => '0',
|
|
'entity_types' => array(),
|
|
'field_name' => 'field_tags',
|
|
'foreign keys' => array(
|
|
'tid' => array(
|
|
'columns' => array(
|
|
'tid' => 'tid',
|
|
),
|
|
'table' => 'taxonomy_term_data',
|
|
),
|
|
),
|
|
'indexes' => array(
|
|
'tid' => array(
|
|
0 => 'tid',
|
|
),
|
|
),
|
|
'module' => 'taxonomy',
|
|
'settings' => array(
|
|
'allowed_values' => array(
|
|
0 => array(
|
|
'vocabulary' => 'tags',
|
|
'parent' => 0,
|
|
),
|
|
),
|
|
),
|
|
'translatable' => '0',
|
|
'type' => 'taxonomy_term_reference',
|
|
),
|
|
'field_instance' => array(
|
|
'bundle' => 'audio',
|
|
'default_value' => NULL,
|
|
'deleted' => '0',
|
|
'description' => 'Enter a comma-separated list of words to describe your video.',
|
|
'display' => array(
|
|
'default' => array(
|
|
'label' => 'inline',
|
|
'module' => 'taxonomy',
|
|
'settings' => array(),
|
|
'type' => 'taxonomy_term_reference_link',
|
|
'weight' => '3',
|
|
),
|
|
'full' => array(
|
|
'label' => 'inline',
|
|
'module' => 'taxonomy',
|
|
'settings' => array(),
|
|
'type' => 'taxonomy_term_reference_link',
|
|
'weight' => '3',
|
|
),
|
|
'media_large' => array(
|
|
'label' => 'above',
|
|
'settings' => array(),
|
|
'type' => 'hidden',
|
|
'weight' => '3',
|
|
),
|
|
'media_link' => array(
|
|
'label' => 'above',
|
|
'settings' => array(),
|
|
'type' => 'hidden',
|
|
'weight' => '0',
|
|
),
|
|
'media_original' => array(
|
|
'label' => 'inline',
|
|
'module' => 'taxonomy',
|
|
'settings' => array(),
|
|
'type' => 'taxonomy_term_reference_link',
|
|
'weight' => '3',
|
|
),
|
|
'media_preview' => array(
|
|
'label' => 'above',
|
|
'settings' => array(),
|
|
'type' => 'hidden',
|
|
'weight' => '3',
|
|
),
|
|
'media_small' => array(
|
|
'label' => 'above',
|
|
'settings' => array(),
|
|
'type' => 'hidden',
|
|
'weight' => '3',
|
|
),
|
|
),
|
|
'entity_type' => 'file',
|
|
'field_name' => 'field_tags',
|
|
'label' => 'Tags',
|
|
'required' => FALSE,
|
|
'settings' => array(
|
|
'user_register_form' => FALSE,
|
|
),
|
|
'widget' => array(
|
|
'module' => 'taxonomy',
|
|
'settings' => array(
|
|
'autocomplete_path' => 'taxonomy/autocomplete',
|
|
'size' => 60,
|
|
),
|
|
'type' => 'taxonomy_autocomplete',
|
|
'weight' => -2,
|
|
),
|
|
),
|
|
);
|
|
|
|
// Exported field: 'file-audio-media_description'
|
|
$fields['file-audio-media_description'] = array(
|
|
'field_config' => array(
|
|
'active' => '1',
|
|
'cardinality' => '1',
|
|
'deleted' => '0',
|
|
'entity_types' => array(),
|
|
'field_name' => 'media_description',
|
|
'foreign keys' => array(
|
|
'format' => array(
|
|
'columns' => array(
|
|
'format' => 'format',
|
|
),
|
|
'table' => 'filter_format',
|
|
),
|
|
),
|
|
'indexes' => array(
|
|
'format' => array(
|
|
0 => 'format',
|
|
),
|
|
),
|
|
'module' => 'text',
|
|
'settings' => array(),
|
|
'translatable' => '1',
|
|
'type' => 'text_long',
|
|
),
|
|
'field_instance' => array(
|
|
'bundle' => 'audio',
|
|
'default_value' => NULL,
|
|
'deleted' => '0',
|
|
'description' => '',
|
|
'display' => array(
|
|
'default' => array(
|
|
'label' => 'hidden',
|
|
'module' => 'text',
|
|
'settings' => array(),
|
|
'type' => 'text_default',
|
|
'weight' => '2',
|
|
),
|
|
'full' => array(
|
|
'label' => 'hidden',
|
|
'module' => 'text',
|
|
'settings' => array(),
|
|
'type' => 'text_default',
|
|
'weight' => '2',
|
|
),
|
|
'media_gallery_detail' => array(
|
|
'label' => 'above',
|
|
'module' => 'text',
|
|
'settings' => array(),
|
|
'type' => 'text_default',
|
|
'weight' => 1,
|
|
),
|
|
'media_gallery_lightbox' => array(
|
|
'label' => 'above',
|
|
'module' => 'text',
|
|
'settings' => array(),
|
|
'type' => 'text_default',
|
|
'weight' => 1,
|
|
),
|
|
'media_gallery_thumbnail' => array(
|
|
'label' => 'above',
|
|
'module' => 'text',
|
|
'settings' => array(),
|
|
'type' => 'text_default',
|
|
'weight' => 1,
|
|
),
|
|
'media_large' => array(
|
|
'label' => 'above',
|
|
'settings' => array(),
|
|
'type' => 'hidden',
|
|
'weight' => '2',
|
|
),
|
|
'media_link' => array(
|
|
'label' => 'above',
|
|
'settings' => array(),
|
|
'type' => 'hidden',
|
|
'weight' => '0',
|
|
),
|
|
'media_original' => array(
|
|
'label' => 'hidden',
|
|
'module' => 'text',
|
|
'settings' => array(),
|
|
'type' => 'text_default',
|
|
'weight' => '2',
|
|
),
|
|
'media_preview' => array(
|
|
'label' => 'above',
|
|
'settings' => array(),
|
|
'type' => 'hidden',
|
|
'weight' => '2',
|
|
),
|
|
'media_small' => array(
|
|
'label' => 'above',
|
|
'settings' => array(),
|
|
'type' => 'hidden',
|
|
'weight' => '2',
|
|
),
|
|
),
|
|
'entity_type' => 'file',
|
|
'field_name' => 'media_description',
|
|
'label' => 'Description',
|
|
'required' => FALSE,
|
|
'settings' => array(
|
|
'text_processing' => 0,
|
|
'user_register_form' => FALSE,
|
|
),
|
|
'widget' => array(
|
|
'module' => 'text',
|
|
'settings' => array(
|
|
'rows' => 4,
|
|
),
|
|
'type' => 'text_textarea',
|
|
'weight' => -3,
|
|
),
|
|
),
|
|
);
|
|
|
|
// Exported field: 'file-audio-media_title'
|
|
$fields['file-audio-media_title'] = array(
|
|
'field_config' => array(
|
|
'active' => '1',
|
|
'cardinality' => '1',
|
|
'deleted' => '0',
|
|
'entity_types' => array(),
|
|
'field_name' => 'media_title',
|
|
'foreign keys' => array(
|
|
'format' => array(
|
|
'columns' => array(
|
|
'format' => 'format',
|
|
),
|
|
'table' => 'filter_format',
|
|
),
|
|
),
|
|
'indexes' => array(
|
|
'format' => array(
|
|
0 => 'format',
|
|
),
|
|
),
|
|
'module' => 'text',
|
|
'settings' => array(
|
|
'max_length' => '255',
|
|
),
|
|
'translatable' => '1',
|
|
'type' => 'text',
|
|
),
|
|
'field_instance' => array(
|
|
'bundle' => 'audio',
|
|
'default_value' => NULL,
|
|
'deleted' => '0',
|
|
'description' => '',
|
|
'display' => array(
|
|
'default' => array(
|
|
'label' => 'hidden',
|
|
'settings' => array(),
|
|
'type' => 'hidden',
|
|
'weight' => '1',
|
|
),
|
|
'full' => array(
|
|
'label' => 'hidden',
|
|
'settings' => array(),
|
|
'type' => 'hidden',
|
|
'weight' => '1',
|
|
),
|
|
'media_gallery_detail' => array(
|
|
'label' => 'hidden',
|
|
'module' => 'text',
|
|
'settings' => array(),
|
|
'type' => 'text_default',
|
|
'weight' => 0,
|
|
),
|
|
'media_gallery_lightbox' => array(
|
|
'label' => 'hidden',
|
|
'module' => 'text',
|
|
'settings' => array(),
|
|
'type' => 'text_default',
|
|
'weight' => 0,
|
|
),
|
|
'media_gallery_thumbnail' => array(
|
|
'label' => 'hidden',
|
|
'module' => 'text',
|
|
'settings' => array(),
|
|
'type' => 'text_default',
|
|
'weight' => 0,
|
|
),
|
|
'media_large' => array(
|
|
'label' => 'hidden',
|
|
'module' => 'text',
|
|
'settings' => array(),
|
|
'type' => 'text_default',
|
|
'weight' => '1',
|
|
),
|
|
'media_link' => array(
|
|
'label' => 'above',
|
|
'settings' => array(),
|
|
'type' => 'hidden',
|
|
'weight' => '0',
|
|
),
|
|
'media_original' => array(
|
|
'label' => 'hidden',
|
|
'module' => 'text',
|
|
'settings' => array(),
|
|
'type' => 'text_default',
|
|
'weight' => '1',
|
|
),
|
|
'media_preview' => array(
|
|
'label' => 'hidden',
|
|
'module' => 'text',
|
|
'settings' => array(),
|
|
'type' => 'text_default',
|
|
'weight' => '1',
|
|
),
|
|
'media_small' => array(
|
|
'label' => 'above',
|
|
'settings' => array(),
|
|
'type' => 'hidden',
|
|
'weight' => '1',
|
|
),
|
|
),
|
|
'entity_type' => 'file',
|
|
'field_name' => 'media_title',
|
|
'label' => 'Title',
|
|
'required' => FALSE,
|
|
'settings' => array(
|
|
'text_processing' => 0,
|
|
'user_register_form' => FALSE,
|
|
),
|
|
'widget' => array(
|
|
'module' => 'text',
|
|
'settings' => array(
|
|
'size' => 60,
|
|
),
|
|
'type' => 'text_textfield',
|
|
'weight' => -4,
|
|
),
|
|
),
|
|
);
|
|
|
|
// Exported field: 'file-default-field_tags'
|
|
$fields['file-default-field_tags'] = array(
|
|
'field_config' => array(
|
|
'active' => '1',
|
|
'cardinality' => '-1',
|
|
'deleted' => '0',
|
|
'entity_types' => array(),
|
|
'field_name' => 'field_tags',
|
|
'foreign keys' => array(
|
|
'tid' => array(
|
|
'columns' => array(
|
|
'tid' => 'tid',
|
|
),
|
|
'table' => 'taxonomy_term_data',
|
|
),
|
|
),
|
|
'indexes' => array(
|
|
'tid' => array(
|
|
0 => 'tid',
|
|
),
|
|
),
|
|
'module' => 'taxonomy',
|
|
'settings' => array(
|
|
'allowed_values' => array(
|
|
0 => array(
|
|
'vocabulary' => 'tags',
|
|
'parent' => 0,
|
|
),
|
|
),
|
|
),
|
|
'translatable' => '0',
|
|
'type' => 'taxonomy_term_reference',
|
|
),
|
|
'field_instance' => array(
|
|
'bundle' => 'default',
|
|
'default_value' => NULL,
|
|
'deleted' => '0',
|
|
'description' => 'Enter a comma-separated list of words to describe your video.',
|
|
'display' => array(
|
|
'default' => array(
|
|
'label' => 'inline',
|
|
'module' => 'taxonomy',
|
|
'settings' => array(),
|
|
'type' => 'taxonomy_term_reference_link',
|
|
'weight' => '3',
|
|
),
|
|
'full' => array(
|
|
'label' => 'inline',
|
|
'module' => 'taxonomy',
|
|
'settings' => array(),
|
|
'type' => 'taxonomy_term_reference_link',
|
|
'weight' => '3',
|
|
),
|
|
'media_large' => array(
|
|
'label' => 'above',
|
|
'settings' => array(),
|
|
'type' => 'hidden',
|
|
'weight' => '3',
|
|
),
|
|
'media_link' => array(
|
|
'label' => 'above',
|
|
'settings' => array(),
|
|
'type' => 'hidden',
|
|
'weight' => '0',
|
|
),
|
|
'media_original' => array(
|
|
'label' => 'inline',
|
|
'module' => 'taxonomy',
|
|
'settings' => array(),
|
|
'type' => 'taxonomy_term_reference_link',
|
|
'weight' => '3',
|
|
),
|
|
'media_preview' => array(
|
|
'label' => 'above',
|
|
'settings' => array(),
|
|
'type' => 'hidden',
|
|
'weight' => '3',
|
|
),
|
|
'media_small' => array(
|
|
'label' => 'above',
|
|
'settings' => array(),
|
|
'type' => 'hidden',
|
|
'weight' => '3',
|
|
),
|
|
),
|
|
'entity_type' => 'file',
|
|
'field_name' => 'field_tags',
|
|
'label' => 'Tags',
|
|
'required' => FALSE,
|
|
'settings' => array(
|
|
'user_register_form' => FALSE,
|
|
),
|
|
'widget' => array(
|
|
'module' => 'taxonomy',
|
|
'settings' => array(
|
|
'autocomplete_path' => 'taxonomy/autocomplete',
|
|
'size' => 60,
|
|
),
|
|
'type' => 'taxonomy_autocomplete',
|
|
'weight' => -2,
|
|
),
|
|
),
|
|
);
|
|
|
|
// Exported field: 'file-default-media_description'
|
|
$fields['file-default-media_description'] = array(
|
|
'field_config' => array(
|
|
'active' => '1',
|
|
'cardinality' => '1',
|
|
'deleted' => '0',
|
|
'entity_types' => array(),
|
|
'field_name' => 'media_description',
|
|
'foreign keys' => array(
|
|
'format' => array(
|
|
'columns' => array(
|
|
'format' => 'format',
|
|
),
|
|
'table' => 'filter_format',
|
|
),
|
|
),
|
|
'indexes' => array(
|
|
'format' => array(
|
|
0 => 'format',
|
|
),
|
|
),
|
|
'module' => 'text',
|
|
'settings' => array(),
|
|
'translatable' => '1',
|
|
'type' => 'text_long',
|
|
),
|
|
'field_instance' => array(
|
|
'bundle' => 'default',
|
|
'default_value' => NULL,
|
|
'deleted' => '0',
|
|
'description' => '',
|
|
'display' => array(
|
|
'default' => array(
|
|
'label' => 'hidden',
|
|
'module' => 'text',
|
|
'settings' => array(),
|
|
'type' => 'text_default',
|
|
'weight' => '2',
|
|
),
|
|
'full' => array(
|
|
'label' => 'hidden',
|
|
'module' => 'text',
|
|
'settings' => array(),
|
|
'type' => 'text_default',
|
|
'weight' => '2',
|
|
),
|
|
'media_gallery_detail' => array(
|
|
'label' => 'above',
|
|
'module' => 'text',
|
|
'settings' => array(),
|
|
'type' => 'text_default',
|
|
'weight' => 1,
|
|
),
|
|
'media_gallery_lightbox' => array(
|
|
'label' => 'above',
|
|
'module' => 'text',
|
|
'settings' => array(),
|
|
'type' => 'text_default',
|
|
'weight' => 1,
|
|
),
|
|
'media_gallery_thumbnail' => array(
|
|
'label' => 'above',
|
|
'module' => 'text',
|
|
'settings' => array(),
|
|
'type' => 'text_default',
|
|
'weight' => 1,
|
|
),
|
|
'media_large' => array(
|
|
'label' => 'above',
|
|
'settings' => array(),
|
|
'type' => 'hidden',
|
|
'weight' => '2',
|
|
),
|
|
'media_link' => array(
|
|
'label' => 'above',
|
|
'settings' => array(),
|
|
'type' => 'hidden',
|
|
'weight' => '0',
|
|
),
|
|
'media_original' => array(
|
|
'label' => 'hidden',
|
|
'module' => 'text',
|
|
'settings' => array(),
|
|
'type' => 'text_default',
|
|
'weight' => '2',
|
|
),
|
|
'media_preview' => array(
|
|
'label' => 'above',
|
|
'settings' => array(),
|
|
'type' => 'hidden',
|
|
'weight' => '2',
|
|
),
|
|
'media_small' => array(
|
|
'label' => 'above',
|
|
'settings' => array(),
|
|
'type' => 'hidden',
|
|
'weight' => '2',
|
|
),
|
|
),
|
|
'entity_type' => 'file',
|
|
'field_name' => 'media_description',
|
|
'label' => 'Description',
|
|
'required' => FALSE,
|
|
'settings' => array(
|
|
'text_processing' => 0,
|
|
'user_register_form' => FALSE,
|
|
),
|
|
'widget' => array(
|
|
'module' => 'text',
|
|
'settings' => array(
|
|
'rows' => 4,
|
|
),
|
|
'type' => 'text_textarea',
|
|
'weight' => -3,
|
|
),
|
|
),
|
|
);
|
|
|
|
// Exported field: 'file-default-media_title'
|
|
$fields['file-default-media_title'] = array(
|
|
'field_config' => array(
|
|
'active' => '1',
|
|
'cardinality' => '1',
|
|
'deleted' => '0',
|
|
'entity_types' => array(),
|
|
'field_name' => 'media_title',
|
|
'foreign keys' => array(
|
|
'format' => array(
|
|
'columns' => array(
|
|
'format' => 'format',
|
|
),
|
|
'table' => 'filter_format',
|
|
),
|
|
),
|
|
'indexes' => array(
|
|
'format' => array(
|
|
0 => 'format',
|
|
),
|
|
),
|
|
'module' => 'text',
|
|
'settings' => array(
|
|
'max_length' => '255',
|
|
),
|
|
'translatable' => '1',
|
|
'type' => 'text',
|
|
),
|
|
'field_instance' => array(
|
|
'bundle' => 'default',
|
|
'default_value' => NULL,
|
|
'deleted' => '0',
|
|
'description' => '',
|
|
'display' => array(
|
|
'default' => array(
|
|
'label' => 'hidden',
|
|
'settings' => array(),
|
|
'type' => 'hidden',
|
|
'weight' => '1',
|
|
),
|
|
'full' => array(
|
|
'label' => 'hidden',
|
|
'settings' => array(),
|
|
'type' => 'hidden',
|
|
'weight' => '1',
|
|
),
|
|
'media_gallery_detail' => array(
|
|
'label' => 'hidden',
|
|
'module' => 'text',
|
|
'settings' => array(),
|
|
'type' => 'text_default',
|
|
'weight' => 0,
|
|
),
|
|
'media_gallery_lightbox' => array(
|
|
'label' => 'hidden',
|
|
'module' => 'text',
|
|
'settings' => array(),
|
|
'type' => 'text_default',
|
|
'weight' => 0,
|
|
),
|
|
'media_gallery_thumbnail' => array(
|
|
'label' => 'hidden',
|
|
'module' => 'text',
|
|
'settings' => array(),
|
|
'type' => 'text_default',
|
|
'weight' => 0,
|
|
),
|
|
'media_large' => array(
|
|
'label' => 'hidden',
|
|
'module' => 'text',
|
|
'settings' => array(),
|
|
'type' => 'text_default',
|
|
'weight' => '1',
|
|
),
|
|
'media_link' => array(
|
|
'label' => 'above',
|
|
'settings' => array(),
|
|
'type' => 'hidden',
|
|
'weight' => '0',
|
|
),
|
|
'media_original' => array(
|
|
'label' => 'hidden',
|
|
'module' => 'text',
|
|
'settings' => array(),
|
|
'type' => 'text_default',
|
|
'weight' => '1',
|
|
),
|
|
'media_preview' => array(
|
|
'label' => 'hidden',
|
|
'module' => 'text',
|
|
'settings' => array(),
|
|
'type' => 'text_default',
|
|
'weight' => '1',
|
|
),
|
|
'media_small' => array(
|
|
'label' => 'above',
|
|
'settings' => array(),
|
|
'type' => 'hidden',
|
|
'weight' => '1',
|
|
),
|
|
),
|
|
'entity_type' => 'file',
|
|
'field_name' => 'media_title',
|
|
'label' => 'Title',
|
|
'required' => FALSE,
|
|
'settings' => array(
|
|
'text_processing' => 0,
|
|
'user_register_form' => FALSE,
|
|
),
|
|
'widget' => array(
|
|
'module' => 'text',
|
|
'settings' => array(
|
|
'size' => 60,
|
|
),
|
|
'type' => 'text_textfield',
|
|
'weight' => -4,
|
|
),
|
|
),
|
|
);
|
|
|
|
// Exported field: 'file-image-field_tags'
|
|
$fields['file-image-field_tags'] = array(
|
|
'field_config' => array(
|
|
'active' => '1',
|
|
'cardinality' => '-1',
|
|
'deleted' => '0',
|
|
'entity_types' => array(),
|
|
'field_name' => 'field_tags',
|
|
'foreign keys' => array(
|
|
'tid' => array(
|
|
'columns' => array(
|
|
'tid' => 'tid',
|
|
),
|
|
'table' => 'taxonomy_term_data',
|
|
),
|
|
),
|
|
'indexes' => array(
|
|
'tid' => array(
|
|
0 => 'tid',
|
|
),
|
|
),
|
|
'module' => 'taxonomy',
|
|
'settings' => array(
|
|
'allowed_values' => array(
|
|
0 => array(
|
|
'vocabulary' => 'tags',
|
|
'parent' => 0,
|
|
),
|
|
),
|
|
),
|
|
'translatable' => '0',
|
|
'type' => 'taxonomy_term_reference',
|
|
),
|
|
'field_instance' => array(
|
|
'bundle' => 'image',
|
|
'default_value' => NULL,
|
|
'deleted' => '0',
|
|
'description' => 'Enter a comma-separated list of words to describe your video.',
|
|
'display' => array(
|
|
'default' => array(
|
|
'label' => 'inline',
|
|
'module' => 'taxonomy',
|
|
'settings' => array(),
|
|
'type' => 'taxonomy_term_reference_link',
|
|
'weight' => '3',
|
|
),
|
|
'full' => array(
|
|
'label' => 'inline',
|
|
'module' => 'taxonomy',
|
|
'settings' => array(),
|
|
'type' => 'taxonomy_term_reference_link',
|
|
'weight' => '3',
|
|
),
|
|
'media_large' => array(
|
|
'label' => 'above',
|
|
'settings' => array(),
|
|
'type' => 'hidden',
|
|
'weight' => '3',
|
|
),
|
|
'media_link' => array(
|
|
'label' => 'above',
|
|
'settings' => array(),
|
|
'type' => 'hidden',
|
|
'weight' => '0',
|
|
),
|
|
'media_original' => array(
|
|
'label' => 'inline',
|
|
'module' => 'taxonomy',
|
|
'settings' => array(),
|
|
'type' => 'taxonomy_term_reference_link',
|
|
'weight' => '3',
|
|
),
|
|
'media_preview' => array(
|
|
'label' => 'above',
|
|
'settings' => array(),
|
|
'type' => 'hidden',
|
|
'weight' => '3',
|
|
),
|
|
'media_small' => array(
|
|
'label' => 'above',
|
|
'settings' => array(),
|
|
'type' => 'hidden',
|
|
'weight' => '3',
|
|
),
|
|
),
|
|
'entity_type' => 'file',
|
|
'field_name' => 'field_tags',
|
|
'label' => 'Tags',
|
|
'required' => FALSE,
|
|
'settings' => array(
|
|
'user_register_form' => FALSE,
|
|
),
|
|
'widget' => array(
|
|
'module' => 'taxonomy',
|
|
'settings' => array(
|
|
'autocomplete_path' => 'taxonomy/autocomplete',
|
|
'size' => 60,
|
|
),
|
|
'type' => 'taxonomy_autocomplete',
|
|
'weight' => -2,
|
|
),
|
|
),
|
|
);
|
|
|
|
// Exported field: 'file-image-media_description'
|
|
$fields['file-image-media_description'] = array(
|
|
'field_config' => array(
|
|
'active' => '1',
|
|
'cardinality' => '1',
|
|
'deleted' => '0',
|
|
'entity_types' => array(),
|
|
'field_name' => 'media_description',
|
|
'foreign keys' => array(
|
|
'format' => array(
|
|
'columns' => array(
|
|
'format' => 'format',
|
|
),
|
|
'table' => 'filter_format',
|
|
),
|
|
),
|
|
'indexes' => array(
|
|
'format' => array(
|
|
0 => 'format',
|
|
),
|
|
),
|
|
'module' => 'text',
|
|
'settings' => array(),
|
|
'translatable' => '1',
|
|
'type' => 'text_long',
|
|
),
|
|
'field_instance' => array(
|
|
'bundle' => 'image',
|
|
'default_value' => NULL,
|
|
'deleted' => '0',
|
|
'description' => '',
|
|
'display' => array(
|
|
'default' => array(
|
|
'label' => 'hidden',
|
|
'module' => 'text',
|
|
'settings' => array(),
|
|
'type' => 'text_default',
|
|
'weight' => '2',
|
|
),
|
|
'full' => array(
|
|
'label' => 'hidden',
|
|
'module' => 'text',
|
|
'settings' => array(),
|
|
'type' => 'text_default',
|
|
'weight' => '2',
|
|
),
|
|
'media_gallery_detail' => array(
|
|
'label' => 'above',
|
|
'module' => 'text',
|
|
'settings' => array(),
|
|
'type' => 'text_default',
|
|
'weight' => 1,
|
|
),
|
|
'media_gallery_lightbox' => array(
|
|
'label' => 'above',
|
|
'module' => 'text',
|
|
'settings' => array(),
|
|
'type' => 'text_default',
|
|
'weight' => 1,
|
|
),
|
|
'media_gallery_thumbnail' => array(
|
|
'label' => 'above',
|
|
'module' => 'text',
|
|
'settings' => array(),
|
|
'type' => 'text_default',
|
|
'weight' => 1,
|
|
),
|
|
'media_large' => array(
|
|
'label' => 'above',
|
|
'settings' => array(),
|
|
'type' => 'hidden',
|
|
'weight' => '2',
|
|
),
|
|
'media_link' => array(
|
|
'label' => 'above',
|
|
'settings' => array(),
|
|
'type' => 'hidden',
|
|
'weight' => '0',
|
|
),
|
|
'media_original' => array(
|
|
'label' => 'hidden',
|
|
'module' => 'text',
|
|
'settings' => array(),
|
|
'type' => 'text_default',
|
|
'weight' => '2',
|
|
),
|
|
'media_preview' => array(
|
|
'label' => 'above',
|
|
'settings' => array(),
|
|
'type' => 'hidden',
|
|
'weight' => '2',
|
|
),
|
|
'media_small' => array(
|
|
'label' => 'above',
|
|
'settings' => array(),
|
|
'type' => 'hidden',
|
|
'weight' => '2',
|
|
),
|
|
),
|
|
'entity_type' => 'file',
|
|
'field_name' => 'media_description',
|
|
'label' => 'Description',
|
|
'required' => FALSE,
|
|
'settings' => array(
|
|
'text_processing' => 0,
|
|
'user_register_form' => FALSE,
|
|
),
|
|
'widget' => array(
|
|
'module' => 'text',
|
|
'settings' => array(
|
|
'rows' => 4,
|
|
),
|
|
'type' => 'text_textarea',
|
|
'weight' => -3,
|
|
),
|
|
),
|
|
);
|
|
|
|
// Exported field: 'file-image-media_title'
|
|
$fields['file-image-media_title'] = array(
|
|
'field_config' => array(
|
|
'active' => '1',
|
|
'cardinality' => '1',
|
|
'deleted' => '0',
|
|
'entity_types' => array(),
|
|
'field_name' => 'media_title',
|
|
'foreign keys' => array(
|
|
'format' => array(
|
|
'columns' => array(
|
|
'format' => 'format',
|
|
),
|
|
'table' => 'filter_format',
|
|
),
|
|
),
|
|
'indexes' => array(
|
|
'format' => array(
|
|
0 => 'format',
|
|
),
|
|
),
|
|
'module' => 'text',
|
|
'settings' => array(
|
|
'max_length' => '255',
|
|
),
|
|
'translatable' => '1',
|
|
'type' => 'text',
|
|
),
|
|
'field_instance' => array(
|
|
'bundle' => 'image',
|
|
'default_value' => NULL,
|
|
'deleted' => '0',
|
|
'description' => '',
|
|
'display' => array(
|
|
'default' => array(
|
|
'label' => 'hidden',
|
|
'settings' => array(),
|
|
'type' => 'hidden',
|
|
'weight' => '1',
|
|
),
|
|
'full' => array(
|
|
'label' => 'hidden',
|
|
'settings' => array(),
|
|
'type' => 'hidden',
|
|
'weight' => '1',
|
|
),
|
|
'media_gallery_detail' => array(
|
|
'label' => 'hidden',
|
|
'module' => 'text',
|
|
'settings' => array(),
|
|
'type' => 'text_default',
|
|
'weight' => 0,
|
|
),
|
|
'media_gallery_lightbox' => array(
|
|
'label' => 'hidden',
|
|
'module' => 'text',
|
|
'settings' => array(),
|
|
'type' => 'text_default',
|
|
'weight' => 0,
|
|
),
|
|
'media_gallery_thumbnail' => array(
|
|
'label' => 'hidden',
|
|
'module' => 'text',
|
|
'settings' => array(),
|
|
'type' => 'text_default',
|
|
'weight' => 0,
|
|
),
|
|
'media_large' => array(
|
|
'label' => 'hidden',
|
|
'module' => 'text',
|
|
'settings' => array(),
|
|
'type' => 'text_default',
|
|
'weight' => '1',
|
|
),
|
|
'media_link' => array(
|
|
'label' => 'above',
|
|
'settings' => array(),
|
|
'type' => 'hidden',
|
|
'weight' => '0',
|
|
),
|
|
'media_original' => array(
|
|
'label' => 'hidden',
|
|
'module' => 'text',
|
|
'settings' => array(),
|
|
'type' => 'text_default',
|
|
'weight' => '1',
|
|
),
|
|
'media_preview' => array(
|
|
'label' => 'hidden',
|
|
'module' => 'text',
|
|
'settings' => array(),
|
|
'type' => 'text_default',
|
|
'weight' => '1',
|
|
),
|
|
'media_small' => array(
|
|
'label' => 'above',
|
|
'settings' => array(),
|
|
'type' => 'hidden',
|
|
'weight' => '1',
|
|
),
|
|
),
|
|
'entity_type' => 'file',
|
|
'field_name' => 'media_title',
|
|
'label' => 'Title',
|
|
'required' => FALSE,
|
|
'settings' => array(
|
|
'text_processing' => 0,
|
|
'user_register_form' => FALSE,
|
|
),
|
|
'widget' => array(
|
|
'module' => 'text',
|
|
'settings' => array(
|
|
'size' => 60,
|
|
),
|
|
'type' => 'text_textfield',
|
|
'weight' => -4,
|
|
),
|
|
),
|
|
);
|
|
|
|
// Exported field: 'file-text-field_tags'
|
|
$fields['file-text-field_tags'] = array(
|
|
'field_config' => array(
|
|
'active' => '1',
|
|
'cardinality' => '-1',
|
|
'deleted' => '0',
|
|
'entity_types' => array(),
|
|
'field_name' => 'field_tags',
|
|
'foreign keys' => array(
|
|
'tid' => array(
|
|
'columns' => array(
|
|
'tid' => 'tid',
|
|
),
|
|
'table' => 'taxonomy_term_data',
|
|
),
|
|
),
|
|
'indexes' => array(
|
|
'tid' => array(
|
|
0 => 'tid',
|
|
),
|
|
),
|
|
'module' => 'taxonomy',
|
|
'settings' => array(
|
|
'allowed_values' => array(
|
|
0 => array(
|
|
'vocabulary' => 'tags',
|
|
'parent' => 0,
|
|
),
|
|
),
|
|
),
|
|
'translatable' => '0',
|
|
'type' => 'taxonomy_term_reference',
|
|
),
|
|
'field_instance' => array(
|
|
'bundle' => 'text',
|
|
'default_value' => NULL,
|
|
'deleted' => '0',
|
|
'description' => 'Enter a comma-separated list of words to describe your video.',
|
|
'display' => array(
|
|
'default' => array(
|
|
'label' => 'inline',
|
|
'module' => 'taxonomy',
|
|
'settings' => array(),
|
|
'type' => 'taxonomy_term_reference_link',
|
|
'weight' => '3',
|
|
),
|
|
'full' => array(
|
|
'label' => 'inline',
|
|
'module' => 'taxonomy',
|
|
'settings' => array(),
|
|
'type' => 'taxonomy_term_reference_link',
|
|
'weight' => '3',
|
|
),
|
|
'media_large' => array(
|
|
'label' => 'above',
|
|
'settings' => array(),
|
|
'type' => 'hidden',
|
|
'weight' => '3',
|
|
),
|
|
'media_link' => array(
|
|
'label' => 'above',
|
|
'settings' => array(),
|
|
'type' => 'hidden',
|
|
'weight' => '0',
|
|
),
|
|
'media_original' => array(
|
|
'label' => 'inline',
|
|
'module' => 'taxonomy',
|
|
'settings' => array(),
|
|
'type' => 'taxonomy_term_reference_link',
|
|
'weight' => '3',
|
|
),
|
|
'media_preview' => array(
|
|
'label' => 'above',
|
|
'settings' => array(),
|
|
'type' => 'hidden',
|
|
'weight' => '3',
|
|
),
|
|
'media_small' => array(
|
|
'label' => 'above',
|
|
'settings' => array(),
|
|
'type' => 'hidden',
|
|
'weight' => '3',
|
|
),
|
|
),
|
|
'entity_type' => 'file',
|
|
'field_name' => 'field_tags',
|
|
'label' => 'Tags',
|
|
'required' => FALSE,
|
|
'settings' => array(
|
|
'user_register_form' => FALSE,
|
|
),
|
|
'widget' => array(
|
|
'module' => 'taxonomy',
|
|
'settings' => array(
|
|
'autocomplete_path' => 'taxonomy/autocomplete',
|
|
'size' => 60,
|
|
),
|
|
'type' => 'taxonomy_autocomplete',
|
|
'weight' => -2,
|
|
),
|
|
),
|
|
);
|
|
|
|
// Exported field: 'file-text-media_description'
|
|
$fields['file-text-media_description'] = array(
|
|
'field_config' => array(
|
|
'active' => '1',
|
|
'cardinality' => '1',
|
|
'deleted' => '0',
|
|
'entity_types' => array(),
|
|
'field_name' => 'media_description',
|
|
'foreign keys' => array(
|
|
'format' => array(
|
|
'columns' => array(
|
|
'format' => 'format',
|
|
),
|
|
'table' => 'filter_format',
|
|
),
|
|
),
|
|
'indexes' => array(
|
|
'format' => array(
|
|
0 => 'format',
|
|
),
|
|
),
|
|
'module' => 'text',
|
|
'settings' => array(),
|
|
'translatable' => '1',
|
|
'type' => 'text_long',
|
|
),
|
|
'field_instance' => array(
|
|
'bundle' => 'text',
|
|
'default_value' => NULL,
|
|
'deleted' => '0',
|
|
'description' => '',
|
|
'display' => array(
|
|
'default' => array(
|
|
'label' => 'hidden',
|
|
'module' => 'text',
|
|
'settings' => array(),
|
|
'type' => 'text_default',
|
|
'weight' => '2',
|
|
),
|
|
'full' => array(
|
|
'label' => 'hidden',
|
|
'module' => 'text',
|
|
'settings' => array(),
|
|
'type' => 'text_default',
|
|
'weight' => '2',
|
|
),
|
|
'media_gallery_detail' => array(
|
|
'label' => 'above',
|
|
'module' => 'text',
|
|
'settings' => array(),
|
|
'type' => 'text_default',
|
|
'weight' => 1,
|
|
),
|
|
'media_gallery_lightbox' => array(
|
|
'label' => 'above',
|
|
'module' => 'text',
|
|
'settings' => array(),
|
|
'type' => 'text_default',
|
|
'weight' => 1,
|
|
),
|
|
'media_gallery_thumbnail' => array(
|
|
'label' => 'above',
|
|
'module' => 'text',
|
|
'settings' => array(),
|
|
'type' => 'text_default',
|
|
'weight' => 1,
|
|
),
|
|
'media_large' => array(
|
|
'label' => 'above',
|
|
'settings' => array(),
|
|
'type' => 'hidden',
|
|
'weight' => '2',
|
|
),
|
|
'media_link' => array(
|
|
'label' => 'above',
|
|
'settings' => array(),
|
|
'type' => 'hidden',
|
|
'weight' => '0',
|
|
),
|
|
'media_original' => array(
|
|
'label' => 'hidden',
|
|
'module' => 'text',
|
|
'settings' => array(),
|
|
'type' => 'text_default',
|
|
'weight' => '2',
|
|
),
|
|
'media_preview' => array(
|
|
'label' => 'above',
|
|
'settings' => array(),
|
|
'type' => 'hidden',
|
|
'weight' => '2',
|
|
),
|
|
'media_small' => array(
|
|
'label' => 'above',
|
|
'settings' => array(),
|
|
'type' => 'hidden',
|
|
'weight' => '2',
|
|
),
|
|
),
|
|
'entity_type' => 'file',
|
|
'field_name' => 'media_description',
|
|
'label' => 'Description',
|
|
'required' => FALSE,
|
|
'settings' => array(
|
|
'text_processing' => 0,
|
|
'user_register_form' => FALSE,
|
|
),
|
|
'widget' => array(
|
|
'module' => 'text',
|
|
'settings' => array(
|
|
'rows' => 4,
|
|
),
|
|
'type' => 'text_textarea',
|
|
'weight' => -3,
|
|
),
|
|
),
|
|
);
|
|
|
|
// Exported field: 'file-text-media_title'
|
|
$fields['file-text-media_title'] = array(
|
|
'field_config' => array(
|
|
'active' => '1',
|
|
'cardinality' => '1',
|
|
'deleted' => '0',
|
|
'entity_types' => array(),
|
|
'field_name' => 'media_title',
|
|
'foreign keys' => array(
|
|
'format' => array(
|
|
'columns' => array(
|
|
'format' => 'format',
|
|
),
|
|
'table' => 'filter_format',
|
|
),
|
|
),
|
|
'indexes' => array(
|
|
'format' => array(
|
|
0 => 'format',
|
|
),
|
|
),
|
|
'module' => 'text',
|
|
'settings' => array(
|
|
'max_length' => '255',
|
|
),
|
|
'translatable' => '1',
|
|
'type' => 'text',
|
|
),
|
|
'field_instance' => array(
|
|
'bundle' => 'text',
|
|
'default_value' => NULL,
|
|
'deleted' => '0',
|
|
'description' => '',
|
|
'display' => array(
|
|
'default' => array(
|
|
'label' => 'hidden',
|
|
'settings' => array(),
|
|
'type' => 'hidden',
|
|
'weight' => '1',
|
|
),
|
|
'full' => array(
|
|
'label' => 'hidden',
|
|
'settings' => array(),
|
|
'type' => 'hidden',
|
|
'weight' => '1',
|
|
),
|
|
'media_gallery_detail' => array(
|
|
'label' => 'hidden',
|
|
'module' => 'text',
|
|
'settings' => array(),
|
|
'type' => 'text_default',
|
|
'weight' => 0,
|
|
),
|
|
'media_gallery_lightbox' => array(
|
|
'label' => 'hidden',
|
|
'module' => 'text',
|
|
'settings' => array(),
|
|
'type' => 'text_default',
|
|
'weight' => 0,
|
|
),
|
|
'media_gallery_thumbnail' => array(
|
|
'label' => 'hidden',
|
|
'module' => 'text',
|
|
'settings' => array(),
|
|
'type' => 'text_default',
|
|
'weight' => 0,
|
|
),
|
|
'media_large' => array(
|
|
'label' => 'hidden',
|
|
'module' => 'text',
|
|
'settings' => array(),
|
|
'type' => 'text_default',
|
|
'weight' => '1',
|
|
),
|
|
'media_link' => array(
|
|
'label' => 'above',
|
|
'settings' => array(),
|
|
'type' => 'hidden',
|
|
'weight' => '0',
|
|
),
|
|
'media_original' => array(
|
|
'label' => 'hidden',
|
|
'module' => 'text',
|
|
'settings' => array(),
|
|
'type' => 'text_default',
|
|
'weight' => '1',
|
|
),
|
|
'media_preview' => array(
|
|
'label' => 'hidden',
|
|
'module' => 'text',
|
|
'settings' => array(),
|
|
'type' => 'text_default',
|
|
'weight' => '1',
|
|
),
|
|
'media_small' => array(
|
|
'label' => 'above',
|
|
'settings' => array(),
|
|
'type' => 'hidden',
|
|
'weight' => '1',
|
|
),
|
|
),
|
|
'entity_type' => 'file',
|
|
'field_name' => 'media_title',
|
|
'label' => 'Title',
|
|
'required' => FALSE,
|
|
'settings' => array(
|
|
'text_processing' => 0,
|
|
'user_register_form' => FALSE,
|
|
),
|
|
'widget' => array(
|
|
'module' => 'text',
|
|
'settings' => array(
|
|
'size' => 60,
|
|
),
|
|
'type' => 'text_textfield',
|
|
'weight' => -4,
|
|
),
|
|
),
|
|
);
|
|
|
|
// Exported field: 'file-video-field_tags'
|
|
$fields['file-video-field_tags'] = array(
|
|
'field_config' => array(
|
|
'active' => '1',
|
|
'cardinality' => '-1',
|
|
'deleted' => '0',
|
|
'entity_types' => array(),
|
|
'field_name' => 'field_tags',
|
|
'foreign keys' => array(
|
|
'tid' => array(
|
|
'columns' => array(
|
|
'tid' => 'tid',
|
|
),
|
|
'table' => 'taxonomy_term_data',
|
|
),
|
|
),
|
|
'indexes' => array(
|
|
'tid' => array(
|
|
0 => 'tid',
|
|
),
|
|
),
|
|
'module' => 'taxonomy',
|
|
'settings' => array(
|
|
'allowed_values' => array(
|
|
0 => array(
|
|
'vocabulary' => 'tags',
|
|
'parent' => 0,
|
|
),
|
|
),
|
|
),
|
|
'translatable' => '0',
|
|
'type' => 'taxonomy_term_reference',
|
|
),
|
|
'field_instance' => array(
|
|
'bundle' => 'video',
|
|
'default_value' => NULL,
|
|
'deleted' => '0',
|
|
'description' => 'Enter a comma-separated list of words to describe your video.',
|
|
'display' => array(
|
|
'default' => array(
|
|
'label' => 'inline',
|
|
'module' => 'taxonomy',
|
|
'settings' => array(),
|
|
'type' => 'taxonomy_term_reference_link',
|
|
'weight' => '3',
|
|
),
|
|
'full' => array(
|
|
'label' => 'inline',
|
|
'module' => 'taxonomy',
|
|
'settings' => array(),
|
|
'type' => 'taxonomy_term_reference_link',
|
|
'weight' => '3',
|
|
),
|
|
'media_large' => array(
|
|
'label' => 'above',
|
|
'settings' => array(),
|
|
'type' => 'hidden',
|
|
'weight' => '3',
|
|
),
|
|
'media_link' => array(
|
|
'label' => 'above',
|
|
'settings' => array(),
|
|
'type' => 'hidden',
|
|
'weight' => '0',
|
|
),
|
|
'media_original' => array(
|
|
'label' => 'inline',
|
|
'module' => 'taxonomy',
|
|
'settings' => array(),
|
|
'type' => 'taxonomy_term_reference_link',
|
|
'weight' => '3',
|
|
),
|
|
'media_preview' => array(
|
|
'label' => 'above',
|
|
'settings' => array(),
|
|
'type' => 'hidden',
|
|
'weight' => '3',
|
|
),
|
|
'media_small' => array(
|
|
'label' => 'above',
|
|
'settings' => array(),
|
|
'type' => 'hidden',
|
|
'weight' => '3',
|
|
),
|
|
),
|
|
'entity_type' => 'file',
|
|
'field_name' => 'field_tags',
|
|
'label' => 'Tags',
|
|
'required' => FALSE,
|
|
'settings' => array(
|
|
'user_register_form' => FALSE,
|
|
),
|
|
'widget' => array(
|
|
'module' => 'taxonomy',
|
|
'settings' => array(
|
|
'autocomplete_path' => 'taxonomy/autocomplete',
|
|
'size' => 60,
|
|
),
|
|
'type' => 'taxonomy_autocomplete',
|
|
'weight' => -2,
|
|
),
|
|
),
|
|
);
|
|
|
|
// Exported field: 'file-video-media_description'
|
|
$fields['file-video-media_description'] = array(
|
|
'field_config' => array(
|
|
'active' => '1',
|
|
'cardinality' => '1',
|
|
'deleted' => '0',
|
|
'entity_types' => array(),
|
|
'field_name' => 'media_description',
|
|
'foreign keys' => array(
|
|
'format' => array(
|
|
'columns' => array(
|
|
'format' => 'format',
|
|
),
|
|
'table' => 'filter_format',
|
|
),
|
|
),
|
|
'indexes' => array(
|
|
'format' => array(
|
|
0 => 'format',
|
|
),
|
|
),
|
|
'module' => 'text',
|
|
'settings' => array(),
|
|
'translatable' => '1',
|
|
'type' => 'text_long',
|
|
),
|
|
'field_instance' => array(
|
|
'bundle' => 'video',
|
|
'default_value' => NULL,
|
|
'deleted' => '0',
|
|
'description' => '',
|
|
'display' => array(
|
|
'default' => array(
|
|
'label' => 'hidden',
|
|
'module' => 'text',
|
|
'settings' => array(),
|
|
'type' => 'text_default',
|
|
'weight' => '2',
|
|
),
|
|
'full' => array(
|
|
'label' => 'hidden',
|
|
'module' => 'text',
|
|
'settings' => array(),
|
|
'type' => 'text_default',
|
|
'weight' => '2',
|
|
),
|
|
'media_gallery_detail' => array(
|
|
'label' => 'above',
|
|
'module' => 'text',
|
|
'settings' => array(),
|
|
'type' => 'text_default',
|
|
'weight' => 1,
|
|
),
|
|
'media_gallery_lightbox' => array(
|
|
'label' => 'above',
|
|
'module' => 'text',
|
|
'settings' => array(),
|
|
'type' => 'text_default',
|
|
'weight' => 1,
|
|
),
|
|
'media_gallery_thumbnail' => array(
|
|
'label' => 'above',
|
|
'module' => 'text',
|
|
'settings' => array(),
|
|
'type' => 'text_default',
|
|
'weight' => 1,
|
|
),
|
|
'media_large' => array(
|
|
'label' => 'above',
|
|
'settings' => array(),
|
|
'type' => 'hidden',
|
|
'weight' => '2',
|
|
),
|
|
'media_link' => array(
|
|
'label' => 'above',
|
|
'settings' => array(),
|
|
'type' => 'hidden',
|
|
'weight' => '0',
|
|
),
|
|
'media_original' => array(
|
|
'label' => 'hidden',
|
|
'module' => 'text',
|
|
'settings' => array(),
|
|
'type' => 'text_default',
|
|
'weight' => '2',
|
|
),
|
|
'media_preview' => array(
|
|
'label' => 'above',
|
|
'settings' => array(),
|
|
'type' => 'hidden',
|
|
'weight' => '2',
|
|
),
|
|
'media_small' => array(
|
|
'label' => 'above',
|
|
'settings' => array(),
|
|
'type' => 'hidden',
|
|
'weight' => '2',
|
|
),
|
|
),
|
|
'entity_type' => 'file',
|
|
'field_name' => 'media_description',
|
|
'label' => 'Description',
|
|
'required' => FALSE,
|
|
'settings' => array(
|
|
'text_processing' => 0,
|
|
'user_register_form' => FALSE,
|
|
),
|
|
'widget' => array(
|
|
'module' => 'text',
|
|
'settings' => array(
|
|
'rows' => 4,
|
|
),
|
|
'type' => 'text_textarea',
|
|
'weight' => -3,
|
|
),
|
|
),
|
|
);
|
|
|
|
// Exported field: 'file-video-media_title'
|
|
$fields['file-video-media_title'] = array(
|
|
'field_config' => array(
|
|
'active' => '1',
|
|
'cardinality' => '1',
|
|
'deleted' => '0',
|
|
'entity_types' => array(),
|
|
'field_name' => 'media_title',
|
|
'foreign keys' => array(
|
|
'format' => array(
|
|
'columns' => array(
|
|
'format' => 'format',
|
|
),
|
|
'table' => 'filter_format',
|
|
),
|
|
),
|
|
'indexes' => array(
|
|
'format' => array(
|
|
0 => 'format',
|
|
),
|
|
),
|
|
'module' => 'text',
|
|
'settings' => array(
|
|
'max_length' => '255',
|
|
),
|
|
'translatable' => '1',
|
|
'type' => 'text',
|
|
),
|
|
'field_instance' => array(
|
|
'bundle' => 'video',
|
|
'default_value' => NULL,
|
|
'deleted' => '0',
|
|
'description' => '',
|
|
'display' => array(
|
|
'default' => array(
|
|
'label' => 'hidden',
|
|
'settings' => array(),
|
|
'type' => 'hidden',
|
|
'weight' => '1',
|
|
),
|
|
'full' => array(
|
|
'label' => 'hidden',
|
|
'settings' => array(),
|
|
'type' => 'hidden',
|
|
'weight' => '1',
|
|
),
|
|
'media_gallery_detail' => array(
|
|
'label' => 'hidden',
|
|
'module' => 'text',
|
|
'settings' => array(),
|
|
'type' => 'text_default',
|
|
'weight' => 0,
|
|
),
|
|
'media_gallery_lightbox' => array(
|
|
'label' => 'hidden',
|
|
'module' => 'text',
|
|
'settings' => array(),
|
|
'type' => 'text_default',
|
|
'weight' => 0,
|
|
),
|
|
'media_gallery_thumbnail' => array(
|
|
'label' => 'hidden',
|
|
'module' => 'text',
|
|
'settings' => array(),
|
|
'type' => 'text_default',
|
|
'weight' => 0,
|
|
),
|
|
'media_large' => array(
|
|
'label' => 'hidden',
|
|
'module' => 'text',
|
|
'settings' => array(),
|
|
'type' => 'text_default',
|
|
'weight' => '1',
|
|
),
|
|
'media_link' => array(
|
|
'label' => 'above',
|
|
'settings' => array(),
|
|
'type' => 'hidden',
|
|
'weight' => '0',
|
|
),
|
|
'media_original' => array(
|
|
'label' => 'hidden',
|
|
'module' => 'text',
|
|
'settings' => array(),
|
|
'type' => 'text_default',
|
|
'weight' => '1',
|
|
),
|
|
'media_preview' => array(
|
|
'label' => 'hidden',
|
|
'module' => 'text',
|
|
'settings' => array(),
|
|
'type' => 'text_default',
|
|
'weight' => '1',
|
|
),
|
|
'media_small' => array(
|
|
'label' => 'above',
|
|
'settings' => array(),
|
|
'type' => 'hidden',
|
|
'weight' => '1',
|
|
),
|
|
),
|
|
'entity_type' => 'file',
|
|
'field_name' => 'media_title',
|
|
'label' => 'Title',
|
|
'required' => FALSE,
|
|
'settings' => array(
|
|
'text_processing' => 0,
|
|
'user_register_form' => FALSE,
|
|
),
|
|
'widget' => array(
|
|
'module' => 'text',
|
|
'settings' => array(
|
|
'size' => 60,
|
|
),
|
|
'type' => 'text_textfield',
|
|
'weight' => -4,
|
|
),
|
|
),
|
|
);
|
|
|
|
// Translatables
|
|
// Included for use with string extractors like potx.
|
|
t('Description');
|
|
t('Enter a comma-separated list of words to describe your audio.');
|
|
t('Enter a comma-separated list of words to describe your file.');
|
|
t('Enter a comma-separated list of words to describe your image.');
|
|
t('Enter a comma-separated list of words to describe your video.');
|
|
t('Tags');
|
|
t('Title');
|
|
|
|
return $fields;
|
|
}
|