|
@@ -118,19 +118,20 @@ function ffdn_article_field_default_field_instances() {
|
|
'entity_type' => 'node',
|
|
'entity_type' => 'node',
|
|
'field_name' => 'field_image',
|
|
'field_name' => 'field_image',
|
|
'label' => 'Image',
|
|
'label' => 'Image',
|
|
- 'required' => FALSE,
|
|
|
|
|
|
+ 'required' => 0,
|
|
'settings' => array(
|
|
'settings' => array(
|
|
- 'alt_field' => TRUE,
|
|
|
|
|
|
+ 'alt_field' => 1,
|
|
'default_image' => 0,
|
|
'default_image' => 0,
|
|
'file_directory' => 'field/image',
|
|
'file_directory' => 'field/image',
|
|
'file_extensions' => 'png gif jpg jpeg',
|
|
'file_extensions' => 'png gif jpg jpeg',
|
|
'max_filesize' => '',
|
|
'max_filesize' => '',
|
|
'max_resolution' => '',
|
|
'max_resolution' => '',
|
|
'min_resolution' => '',
|
|
'min_resolution' => '',
|
|
- 'title_field' => '',
|
|
|
|
|
|
+ 'title_field' => 0,
|
|
'user_register_form' => FALSE,
|
|
'user_register_form' => FALSE,
|
|
),
|
|
),
|
|
'widget' => array(
|
|
'widget' => array(
|
|
|
|
+ 'active' => 1,
|
|
'module' => 'image',
|
|
'module' => 'image',
|
|
'settings' => array(
|
|
'settings' => array(
|
|
'preview_image_style' => 'thumbnail',
|
|
'preview_image_style' => 'thumbnail',
|
|
@@ -141,6 +142,56 @@ function ffdn_article_field_default_field_instances() {
|
|
),
|
|
),
|
|
);
|
|
);
|
|
|
|
|
|
|
|
+ // Exported field_instance: 'node-article-field_images'.
|
|
|
|
+ $field_instances['node-article-field_images'] = array(
|
|
|
|
+ 'bundle' => 'article',
|
|
|
|
+ 'deleted' => 0,
|
|
|
|
+ 'description' => '',
|
|
|
|
+ 'display' => array(
|
|
|
|
+ 'default' => array(
|
|
|
|
+ 'label' => 'hidden',
|
|
|
|
+ 'module' => 'image',
|
|
|
|
+ 'settings' => array(
|
|
|
|
+ 'image_link' => 'file',
|
|
|
|
+ 'image_style' => 'medium',
|
|
|
|
+ ),
|
|
|
|
+ 'type' => 'image',
|
|
|
|
+ 'weight' => 3,
|
|
|
|
+ ),
|
|
|
|
+ 'teaser' => array(
|
|
|
|
+ 'label' => 'above',
|
|
|
|
+ 'settings' => array(),
|
|
|
|
+ 'type' => 'hidden',
|
|
|
|
+ 'weight' => 0,
|
|
|
|
+ ),
|
|
|
|
+ ),
|
|
|
|
+ 'entity_type' => 'node',
|
|
|
|
+ 'field_name' => 'field_images',
|
|
|
|
+ 'label' => 'Images',
|
|
|
|
+ 'required' => 0,
|
|
|
|
+ 'settings' => array(
|
|
|
|
+ 'alt_field' => 0,
|
|
|
|
+ 'default_image' => 0,
|
|
|
|
+ 'file_directory' => 'article/images',
|
|
|
|
+ 'file_extensions' => 'png gif jpg jpeg',
|
|
|
|
+ 'max_filesize' => '',
|
|
|
|
+ 'max_resolution' => '',
|
|
|
|
+ 'min_resolution' => '',
|
|
|
|
+ 'title_field' => 0,
|
|
|
|
+ 'user_register_form' => FALSE,
|
|
|
|
+ ),
|
|
|
|
+ 'widget' => array(
|
|
|
|
+ 'active' => 1,
|
|
|
|
+ 'module' => 'image',
|
|
|
|
+ 'settings' => array(
|
|
|
|
+ 'preview_image_style' => 'thumbnail',
|
|
|
|
+ 'progress_indicator' => 'throbber',
|
|
|
|
+ ),
|
|
|
|
+ 'type' => 'image_image',
|
|
|
|
+ 'weight' => 31,
|
|
|
|
+ ),
|
|
|
|
+ );
|
|
|
|
+
|
|
// Exported field_instance: 'node-article-field_tags'.
|
|
// Exported field_instance: 'node-article-field_tags'.
|
|
$field_instances['node-article-field_tags'] = array(
|
|
$field_instances['node-article-field_tags'] = array(
|
|
'bundle' => 'article',
|
|
'bundle' => 'article',
|
|
@@ -186,6 +237,7 @@ function ffdn_article_field_default_field_instances() {
|
|
t('Body');
|
|
t('Body');
|
|
t('Comment');
|
|
t('Comment');
|
|
t('Image');
|
|
t('Image');
|
|
|
|
+ t('Images');
|
|
t('Saisissez une liste de mots séparés par des virgules pour décrire votre contenu.');
|
|
t('Saisissez une liste de mots séparés par des virgules pour décrire votre contenu.');
|
|
t('Tags');
|
|
t('Tags');
|
|
t('Transférer une image pour accompagner cet article.');
|
|
t('Transférer une image pour accompagner cet article.');
|