View source
<?php
function paragraphs_test_field_default_field_bases() {
$field_bases = array();
$field_bases['field_paragraphs'] = array(
'active' => 1,
'cardinality' => -1,
'deleted' => 0,
'entity_types' => array(),
'field_name' => 'field_paragraphs',
'foreign keys' => array(),
'indexes' => array(),
'locked' => 0,
'module' => 'paragraphs',
'settings' => array(),
'translatable' => 0,
'type' => 'paragraphs',
);
$field_bases['field_ptest_text'] = array(
'active' => 1,
'cardinality' => 1,
'deleted' => 0,
'entity_types' => array(),
'field_name' => 'field_ptest_text',
'foreign keys' => array(
'format' => array(
'columns' => array(
'format' => 'format',
),
'table' => 'filter_format',
),
),
'indexes' => array(
'format' => array(
0 => 'format',
),
),
'locked' => 0,
'module' => 'text',
'settings' => array(
'max_length' => 255,
),
'translatable' => 0,
'type' => 'text',
);
return $field_bases;
}