You are here

function bear_necessities_field_default_field_bases in Bear 7

Same name and namespace in other branches
  1. 7.2 modules/bear_necessities/bear_necessities.features.field_base.inc \bear_necessities_field_default_field_bases()

Implements hook_field_default_field_bases().

File

modules/bear_necessities/bear_necessities.features.field_base.inc, line 10
bear_necessities.features.field_base.inc

Code

function bear_necessities_field_default_field_bases() {
  $field_bases = array();

  // Exported field_base: 'field_embed_url'
  $field_bases['field_embed_url'] = array(
    'active' => 1,
    'cardinality' => 1,
    'deleted' => 0,
    'entity_types' => array(),
    'field_name' => 'field_embed_url',
    'indexes' => array(),
    'locked' => 0,
    'module' => 'link',
    'settings' => array(
      'attributes' => array(
        'class' => '',
        'rel' => '',
        'target' => 'default',
      ),
      'display' => array(
        'url_cutoff' => 80,
      ),
      'enable_tokens' => 1,
      'title' => 'optional',
      'title_maxlength' => 128,
      'title_value' => '',
      'url' => 0,
    ),
    'translatable' => 0,
    'type' => 'link_field',
  );
  return $field_bases;
}