function hosting_deploy_field_default_field_bases in Aegir Deploy 7.3
Implements hook_field_default_field_bases().
File
- ./
hosting_deploy.features.field_base.inc, line 10 - hosting_deploy.field_base.inc
Code
function hosting_deploy_field_default_field_bases() {
$field_bases = array();
// Exported field_base: 'field_deployment_strategy'.
$field_bases['field_deployment_strategy'] = array(
'active' => 1,
'cardinality' => 1,
'deleted' => 0,
'entity_types' => array(),
'field_name' => 'field_deployment_strategy',
'indexes' => array(
'value' => array(
0 => 'value',
),
),
'locked' => 0,
'module' => 'list',
'settings' => array(
'allowed_values' => array(
'frommakefile' => 'Deploy from Drush makefile',
),
'allowed_values_function' => 'hosting_deploy_get_strategies_options_list',
),
'translatable' => 0,
'type' => 'list_text',
);
return $field_bases;
}