3
0
Fork 0
mirror of https://github.com/farmOS/farmOS.git synced 2024-02-23 11:37:38 +01:00

Add a field_farm_data field base definition.

This commit is contained in:
Michael Stenta 2019-04-06 15:03:45 -04:00
parent 5fab821aa3
commit 9961334fe7
2 changed files with 20 additions and 0 deletions

View file

@ -43,6 +43,25 @@ function farm_fields_field_default_field_bases() {
'type' => 'entityreference',
);
// Exported field_base: 'field_farm_data'.
$field_bases['field_farm_data'] = array(
'active' => 1,
'cardinality' => 1,
'deleted' => 0,
'entity_types' => array(),
'field_name' => 'field_farm_data',
'indexes' => array(
'format' => array(
0 => 'format',
),
),
'locked' => 0,
'module' => 'text',
'settings' => array(),
'translatable' => 0,
'type' => 'text_long',
);
// Exported field_base: 'field_farm_date'.
$field_bases['field_farm_date'] = array(
'active' => 1,

View file

@ -18,6 +18,7 @@ dependencies[] = text
features[ctools][] = strongarm:strongarm:1
features[features_api][] = api:2
features[field_base][] = field_farm_asset
features[field_base][] = field_farm_data
features[field_base][] = field_farm_date
features[field_base][] = field_farm_date_range
features[field_base][] = field_farm_description