View source
<?php
function classy_paragraphs_test_field_default_field_bases() {
$field_bases = array();
$field_bases['field_cp_body'] = array(
'active' => 1,
'cardinality' => 1,
'deleted' => 0,
'entity_types' => array(
0 => 'node',
),
'field_name' => 'field_cp_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',
);
$field_bases['field_cp_multiple_classes'] = array(
'active' => 1,
'cardinality' => -1,
'deleted' => 0,
'entity_types' => array(),
'field_name' => 'field_cp_multiple_classes',
'foreign keys' => array(),
'indexes' => array(
'value' => array(
0 => 'value',
),
),
'locked' => 0,
'module' => 'classy_paragraphs',
'settings' => array(
'allowed_values' => array(),
'allowed_values_function' => '',
),
'translatable' => 0,
'type' => 'cp_list',
);
$field_bases['field_cp_test_body'] = array(
'active' => 1,
'cardinality' => 1,
'deleted' => 0,
'entity_types' => array(),
'field_name' => 'field_cp_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',
);
$field_bases['field_cp_test_class'] = array(
'active' => 1,
'cardinality' => 1,
'deleted' => 0,
'entity_types' => array(),
'field_name' => 'field_cp_test_class',
'foreign keys' => array(),
'indexes' => array(
'value' => array(
0 => 'value',
),
),
'locked' => 0,
'module' => 'classy_paragraphs',
'settings' => array(
'allowed_values' => array(),
'allowed_values_function' => '',
),
'translatable' => 0,
'type' => 'cp_list',
);
$field_bases['field_cp_test_paragraphs'] = array(
'active' => 1,
'cardinality' => 1,
'deleted' => 0,
'entity_types' => array(),
'field_name' => 'field_cp_test_paragraphs',
'foreign keys' => array(),
'indexes' => array(),
'locked' => 0,
'module' => 'paragraphs',
'settings' => array(),
'translatable' => 0,
'type' => 'paragraphs',
);
return $field_bases;
}