You are here

paragraphs_id_test.features.field_base.inc in Paragraphs ID 7

File

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

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

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

  // Exported field_base: 'field_pp_test_body'
  $field_bases['field_pp_test_body'] = array(
    'active' => 1,
    'cardinality' => 1,
    'deleted' => 0,
    'entity_types' => array(),
    'field_name' => 'field_pp_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_with_summary',
  );

  // Exported field_base: 'field_pp_test_paragraphs'
  $field_bases['field_pp_test_paragraphs'] = array(
    'active' => 1,
    'cardinality' => -1,
    'deleted' => 0,
    'entity_types' => array(),
    'field_name' => 'field_pp_test_paragraphs',
    'foreign keys' => array(),
    'indexes' => array(),
    'locked' => 0,
    'module' => 'paragraphs',
    'settings' => array(),
    'translatable' => 0,
    'type' => 'paragraphs',
  );
  return $field_bases;
}

Functions

Namesort descending Description
paragraphs_id_test_field_default_field_bases Implements hook_field_default_field_bases().