changed en_ettente behaviour

This commit is contained in:
2017-03-03 17:58:05 +01:00
parent a66a41e2cd
commit 530ac38275
12 changed files with 324 additions and 179 deletions
@@ -236,6 +236,12 @@ function clameurs_field_default_field_instances() {
'type' => 'hidden',
'weight' => 2,
),
'attente' => array(
'label' => 'above',
'settings' => array(),
'type' => 'hidden',
'weight' => 0,
),
'default' => array(
'label' => 'hidden',
'module' => 'text',
@@ -287,6 +293,12 @@ function clameurs_field_default_field_instances() {
'type' => 'hidden',
'weight' => 6,
),
'attente' => array(
'label' => 'above',
'settings' => array(),
'type' => 'hidden',
'weight' => 0,
),
'default' => array(
'label' => 'above',
'module' => 'text',
@@ -342,6 +354,12 @@ function clameurs_field_default_field_instances() {
'type' => 'entityreference_label',
'weight' => 0,
),
'attente' => array(
'label' => 'above',
'settings' => array(),
'type' => 'hidden',
'weight' => 0,
),
'default' => array(
'label' => 'above',
'module' => 'entityreference',
@@ -402,6 +420,12 @@ function clameurs_field_default_field_instances() {
'type' => 'video_embed_field_thumbnail',
'weight' => 5,
),
'attente' => array(
'label' => 'above',
'settings' => array(),
'type' => 'hidden',
'weight' => 0,
),
'default' => array(
'label' => 'above',
'module' => 'video_embed_field',
@@ -463,6 +487,12 @@ function clameurs_field_default_field_instances() {
'type' => 'hidden',
'weight' => 5,
),
'attente' => array(
'label' => 'above',
'settings' => array(),
'type' => 'hidden',
'weight' => 0,
),
'default' => array(
'label' => 'above',
'module' => 'entityreference',
@@ -514,6 +544,12 @@ function clameurs_field_default_field_instances() {
'type' => 'text_default',
'weight' => 1,
),
'attente' => array(
'label' => 'above',
'settings' => array(),
'type' => 'hidden',
'weight' => 0,
),
'default' => array(
'label' => 'above',
'settings' => array(),
@@ -563,6 +599,12 @@ function clameurs_field_default_field_instances() {
'type' => 'hidden',
'weight' => 6,
),
'attente' => array(
'label' => 'above',
'settings' => array(),
'type' => 'hidden',
'weight' => 0,
),
'default' => array(
'label' => 'hidden',
'module' => 'text',
@@ -620,6 +662,12 @@ function clameurs_field_default_field_instances() {
'type' => 'hidden',
'weight' => 7,
),
'attente' => array(
'label' => 'above',
'settings' => array(),
'type' => 'hidden',
'weight' => 0,
),
'default' => array(
'label' => 'above',
'module' => 'text',
@@ -678,6 +726,12 @@ function clameurs_field_default_field_instances() {
'type' => 'video_embed_field_thumbnail',
'weight' => 9,
),
'attente' => array(
'label' => 'above',
'settings' => array(),
'type' => 'hidden',
'weight' => 0,
),
'default' => array(
'label' => 'above',
'module' => 'video_embed_field',
@@ -739,6 +793,12 @@ function clameurs_field_default_field_instances() {
'type' => 'hidden',
'weight' => 0,
),
'attente' => array(
'label' => 'above',
'settings' => array(),
'type' => 'hidden',
'weight' => 0,
),
'default' => array(
'label' => 'above',
'module' => 'entityreference',
@@ -799,6 +859,12 @@ function clameurs_field_default_field_instances() {
'type' => 'hidden',
'weight' => 8,
),
'attente' => array(
'label' => 'above',
'settings' => array(),
'type' => 'hidden',
'weight' => 0,
),
'default' => array(
'label' => 'above',
'module' => 'entityreference',
@@ -850,6 +916,12 @@ function clameurs_field_default_field_instances() {
'type' => 'text_default',
'weight' => 3,
),
'attente' => array(
'label' => 'above',
'settings' => array(),
'type' => 'hidden',
'weight' => 0,
),
'default' => array(
'label' => 'above',
'settings' => array(),
@@ -900,6 +972,15 @@ function clameurs_field_default_field_instances() {
'type' => 'text_default',
'weight' => 3,
),
'attente' => array(
'label' => 'hidden',
'module' => 'text',
'settings' => array(
'trim_length' => 600,
),
'type' => 'text_summary_or_trimmed',
'weight' => 1,
),
'default' => array(
'label' => 'hidden',
'module' => 'text',
@@ -950,6 +1031,12 @@ function clameurs_field_default_field_instances() {
'type' => 'text_default',
'weight' => 11,
),
'attente' => array(
'label' => 'above',
'settings' => array(),
'type' => 'hidden',
'weight' => 4,
),
'default' => array(
'label' => 'above',
'module' => 'text',
@@ -1008,6 +1095,12 @@ function clameurs_field_default_field_instances() {
'type' => 'entityreference_entity_view',
'weight' => 6,
),
'attente' => array(
'label' => 'above',
'settings' => array(),
'type' => 'hidden',
'weight' => 7,
),
'default' => array(
'label' => 'above',
'module' => 'entityreference',
@@ -1059,6 +1152,12 @@ function clameurs_field_default_field_instances() {
'type' => 'taxonomy_term_reference_plain',
'weight' => 10,
),
'attente' => array(
'label' => 'above',
'settings' => array(),
'type' => 'hidden',
'weight' => 6,
),
'default' => array(
'label' => 'above',
'module' => 'taxonomy',
@@ -1113,6 +1212,12 @@ function clameurs_field_default_field_instances() {
'type' => 'video_embed_field_thumbnail',
'weight' => 8,
),
'attente' => array(
'label' => 'above',
'settings' => array(),
'type' => 'hidden',
'weight' => 8,
),
'default' => array(
'label' => 'above',
'module' => 'video_embed_field',
@@ -1179,6 +1284,12 @@ function clameurs_field_default_field_instances() {
'type' => 'entityreference_entity_view',
'weight' => 5,
),
'attente' => array(
'label' => 'above',
'settings' => array(),
'type' => 'hidden',
'weight' => 5,
),
'default' => array(
'label' => 'above',
'module' => 'entityreference',
@@ -1233,6 +1344,12 @@ function clameurs_field_default_field_instances() {
'type' => 'hidden',
'weight' => 7,
),
'attente' => array(
'label' => 'above',
'settings' => array(),
'type' => 'hidden',
'weight' => 9,
),
'default' => array(
'label' => 'above',
'module' => 'number',
@@ -261,6 +261,33 @@ function clameurs_field_group_info() {
);
$field_groups['group_main|node|thematique|accueil'] = $field_group;
$field_group = new stdClass();
$field_group->disabled = FALSE; /* Edit this to true to make a default field_group disabled initially */
$field_group->api_version = 1;
$field_group->identifier = 'group_main|node|thematique|attente';
$field_group->group_name = 'group_main';
$field_group->entity_type = 'node';
$field_group->bundle = 'thematique';
$field_group->mode = 'attente';
$field_group->parent_name = '';
$field_group->data = array(
'label' => 'main',
'weight' => '0',
'children' => array(
0 => 'body',
),
'format_type' => 'html5',
'format_settings' => array(
'label' => 'main',
'instance_settings' => array(
'id' => '',
'classes' => 'main',
'wrapper' => 'article',
),
),
);
$field_groups['group_main|node|thematique|attente'] = $field_group;
$field_group = new stdClass();
$field_group->disabled = FALSE; /* Edit this to true to make a default field_group disabled initially */
$field_group->api_version = 1;
@@ -80,6 +80,7 @@ features[field_group][] = group_htabs|node|documentair|form
features[field_group][] = group_htabs|node|episode|form
features[field_group][] = group_htabs|node|thematique|form
features[field_group][] = group_main|node|thematique|accueil
features[field_group][] = group_main|node|thematique|attente
features[field_group][] = group_right|node|thematique|accueil
features[field_group][] = group_texte|node|documentair|form
features[field_group][] = group_texte|node|episode|form
@@ -135,6 +135,10 @@ function clameurs_strongarm() {
'weight' => '3',
'visible' => FALSE,
),
'attente' => array(
'weight' => '2',
'visible' => FALSE,
),
),
'workflow' => array(
'teaser' => array(
@@ -145,6 +149,10 @@ function clameurs_strongarm() {
'weight' => '4',
'visible' => FALSE,
),
'attente' => array(
'weight' => '3',
'visible' => FALSE,
),
),
),
),
@@ -23,6 +23,12 @@ function page_field_default_field_instances() {
'type' => 'hidden',
'weight' => 0,
),
'attente' => array(
'label' => 'above',
'settings' => array(),
'type' => 'hidden',
'weight' => 0,
),
'default' => array(
'label' => 'hidden',
'module' => 'text',
@@ -73,6 +79,12 @@ function page_field_default_field_instances() {
'type' => 'hidden',
'weight' => 0,
),
'attente' => array(
'label' => 'above',
'settings' => array(),
'type' => 'hidden',
'weight' => 0,
),
'default' => array(
'label' => 'above',
'module' => 'image',