created Chapitre feature
This commit is contained in:
@@ -0,0 +1,213 @@
|
||||
<?php
|
||||
/**
|
||||
* @file
|
||||
* chapitre.features.field_base.inc
|
||||
*/
|
||||
|
||||
/**
|
||||
* Implements hook_field_default_field_bases().
|
||||
*/
|
||||
function chapitre_field_default_field_bases() {
|
||||
$field_bases = array();
|
||||
|
||||
// Exported field_base: 'field_agir'
|
||||
$field_bases['field_agir'] = array(
|
||||
'active' => 1,
|
||||
'cardinality' => 1,
|
||||
'deleted' => 0,
|
||||
'entity_types' => array(),
|
||||
'field_name' => 'field_agir',
|
||||
'field_permissions' => array(
|
||||
'type' => 0,
|
||||
),
|
||||
'foreign keys' => array(
|
||||
'format' => array(
|
||||
'columns' => array(
|
||||
'format' => 'format',
|
||||
),
|
||||
'table' => 'filter_format',
|
||||
),
|
||||
),
|
||||
'indexes' => array(
|
||||
'format' => array(
|
||||
0 => 'format',
|
||||
),
|
||||
),
|
||||
'locked' => 0,
|
||||
'module' => 'text',
|
||||
'settings' => array(),
|
||||
'translatable' => 0,
|
||||
'type' => 'text_long',
|
||||
);
|
||||
|
||||
// Exported field_base: 'field_comprendre'
|
||||
$field_bases['field_comprendre'] = array(
|
||||
'active' => 1,
|
||||
'cardinality' => 1,
|
||||
'deleted' => 0,
|
||||
'entity_types' => array(),
|
||||
'field_name' => 'field_comprendre',
|
||||
'field_permissions' => array(
|
||||
'type' => 0,
|
||||
),
|
||||
'foreign keys' => array(
|
||||
'format' => array(
|
||||
'columns' => array(
|
||||
'format' => 'format',
|
||||
),
|
||||
'table' => 'filter_format',
|
||||
),
|
||||
),
|
||||
'indexes' => array(
|
||||
'format' => array(
|
||||
0 => 'format',
|
||||
),
|
||||
),
|
||||
'locked' => 0,
|
||||
'module' => 'text',
|
||||
'settings' => array(),
|
||||
'translatable' => 0,
|
||||
'type' => 'text_long',
|
||||
);
|
||||
|
||||
// Exported field_base: 'field_dbatre'
|
||||
$field_bases['field_dbatre'] = array(
|
||||
'active' => 1,
|
||||
'cardinality' => 1,
|
||||
'deleted' => 0,
|
||||
'entity_types' => array(),
|
||||
'field_name' => 'field_dbatre',
|
||||
'field_permissions' => array(
|
||||
'type' => 0,
|
||||
),
|
||||
'foreign keys' => array(
|
||||
'format' => array(
|
||||
'columns' => array(
|
||||
'format' => 'format',
|
||||
),
|
||||
'table' => 'filter_format',
|
||||
),
|
||||
),
|
||||
'indexes' => array(
|
||||
'format' => array(
|
||||
0 => 'format',
|
||||
),
|
||||
),
|
||||
'locked' => 0,
|
||||
'module' => 'text',
|
||||
'settings' => array(),
|
||||
'translatable' => 0,
|
||||
'type' => 'text_long',
|
||||
);
|
||||
|
||||
// Exported field_base: 'field_description'
|
||||
$field_bases['field_description'] = array(
|
||||
'active' => 1,
|
||||
'cardinality' => 1,
|
||||
'deleted' => 0,
|
||||
'entity_types' => array(),
|
||||
'field_name' => 'field_description',
|
||||
'field_permissions' => array(
|
||||
'type' => 0,
|
||||
),
|
||||
'foreign keys' => array(
|
||||
'format' => array(
|
||||
'columns' => array(
|
||||
'format' => 'format',
|
||||
),
|
||||
'table' => 'filter_format',
|
||||
),
|
||||
),
|
||||
'indexes' => array(
|
||||
'format' => array(
|
||||
0 => 'format',
|
||||
),
|
||||
),
|
||||
'locked' => 0,
|
||||
'module' => 'text',
|
||||
'settings' => array(
|
||||
'max_length' => 255,
|
||||
),
|
||||
'translatable' => 0,
|
||||
'type' => 'text',
|
||||
);
|
||||
|
||||
// Exported field_base: 'field_nom'
|
||||
$field_bases['field_nom'] = array(
|
||||
'active' => 1,
|
||||
'cardinality' => 1,
|
||||
'deleted' => 0,
|
||||
'entity_types' => array(),
|
||||
'field_name' => 'field_nom',
|
||||
'field_permissions' => array(
|
||||
'type' => 0,
|
||||
),
|
||||
'foreign keys' => array(
|
||||
'format' => array(
|
||||
'columns' => array(
|
||||
'format' => 'format',
|
||||
),
|
||||
'table' => 'filter_format',
|
||||
),
|
||||
),
|
||||
'indexes' => array(
|
||||
'format' => array(
|
||||
0 => 'format',
|
||||
),
|
||||
),
|
||||
'locked' => 0,
|
||||
'module' => 'text',
|
||||
'settings' => array(
|
||||
'max_length' => 255,
|
||||
),
|
||||
'translatable' => 0,
|
||||
'type' => 'text',
|
||||
);
|
||||
|
||||
// Exported field_base: 'field_partie'
|
||||
$field_bases['field_partie'] = array(
|
||||
'active' => 1,
|
||||
'cardinality' => 3,
|
||||
'deleted' => 0,
|
||||
'entity_types' => array(),
|
||||
'field_name' => 'field_partie',
|
||||
'field_permissions' => array(
|
||||
'type' => 0,
|
||||
),
|
||||
'foreign keys' => array(),
|
||||
'indexes' => array(
|
||||
'revision_id' => array(
|
||||
0 => 'revision_id',
|
||||
),
|
||||
),
|
||||
'locked' => 0,
|
||||
'module' => 'field_collection',
|
||||
'settings' => array(
|
||||
'hide_blank_items' => 1,
|
||||
'path' => '',
|
||||
),
|
||||
'translatable' => 0,
|
||||
'type' => 'field_collection',
|
||||
);
|
||||
|
||||
// Exported field_base: 'field_video'
|
||||
$field_bases['field_video'] = array(
|
||||
'active' => 1,
|
||||
'cardinality' => 1,
|
||||
'deleted' => 0,
|
||||
'entity_types' => array(),
|
||||
'field_name' => 'field_video',
|
||||
'field_permissions' => array(
|
||||
'type' => 0,
|
||||
),
|
||||
'foreign keys' => array(),
|
||||
'indexes' => array(),
|
||||
'locked' => 0,
|
||||
'module' => 'video_embed_field',
|
||||
'settings' => array(),
|
||||
'translatable' => 0,
|
||||
'type' => 'video_embed_field',
|
||||
);
|
||||
|
||||
return $field_bases;
|
||||
}
|
||||
Reference in New Issue
Block a user