You are here

hosting_deploy.features.field_base.inc in Aegir Deploy 7.3

hosting_deploy.field_base.inc

File

hosting_deploy.features.field_base.inc
View source
<?php

/**
 * @file
 * hosting_deploy.field_base.inc
 */

/**
 * Implements hook_field_default_field_bases().
 */
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;
}

Functions

Namesort descending Description
hosting_deploy_field_default_field_bases Implements hook_field_default_field_bases().