You are here

entity_background_test.features.field_base.inc in Entity background 7

File

tests/entity_background_test/entity_background_test.features.field_base.inc
View source
<?php

/**
 * @file
 * entity_background_test.features.field_base.inc
 */

/**
 * Implements hook_field_default_field_bases().
 */
function entity_background_test_field_default_field_bases() {
  $field_bases = array();

  // Exported field_base: 'field_eb_test_body'
  $field_bases['field_eb_test_body'] = array(
    'active' => 1,
    'cardinality' => 1,
    'deleted' => 0,
    'entity_types' => array(),
    'field_name' => 'field_eb_test_body',
    '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_eb_test_paragraphs'
  $field_bases['field_eb_test_paragraphs'] = array(
    'active' => 1,
    'cardinality' => 1,
    'deleted' => 0,
    'entity_types' => array(),
    'field_name' => 'field_eb_test_paragraphs',
    'foreign keys' => array(),
    'indexes' => array(),
    'locked' => 0,
    'module' => 'paragraphs',
    'settings' => array(),
    'translatable' => 0,
    'type' => 'paragraphs',
  );
  return $field_bases;
}

Functions

Namesort descending Description
entity_background_test_field_default_field_bases Implements hook_field_default_field_bases().