complete refactoring of thematique list display : entityfieldquery + viewmode

This commit is contained in:
2017-02-10 18:06:32 +01:00
parent 46db2145e5
commit 30577d3c6b
11 changed files with 1000 additions and 98 deletions
@@ -371,6 +371,26 @@ function clameurs_field_default_field_bases() {
'type' => 'text',
);
// Exported field_base: 'field_poid'.
$field_bases['field_poid'] = array(
'active' => 1,
'cardinality' => 1,
'deleted' => 0,
'entity_types' => array(),
'field_name' => 'field_poid',
'field_permissions' => array(
'type' => 1,
),
'indexes' => array(),
'locked' => 0,
'module' => 'number',
'settings' => array(
'entity_translation_sync' => FALSE,
),
'translatable' => 0,
'type' => 'number_integer',
);
// Exported field_base: 'field_thematique'.
$field_bases['field_thematique'] = array(
'active' => 1,
@@ -410,5 +430,27 @@ function clameurs_field_default_field_bases() {
'type' => 'entityreference',
);
// Exported field_base: 'title_field'.
$field_bases['title_field'] = array(
'active' => 1,
'cardinality' => 1,
'deleted' => 0,
'entity_types' => array(),
'field_name' => 'title_field',
'indexes' => array(
'format' => array(
0 => 'format',
),
),
'locked' => 0,
'module' => 'text',
'settings' => array(
'entity_translation_sync' => FALSE,
'max_length' => 255,
),
'translatable' => 1,
'type' => 'text',
);
return $field_bases;
}