View source
<?php
function varbase_base_field_default_field_instances() {
$field_instances = array();
$field_instances['bean-html_block-field_body'] = array(
'bundle' => 'html_block',
'default_value' => NULL,
'deleted' => 0,
'description' => '',
'display' => array(
'default' => array(
'label' => 'hidden',
'module' => 'text',
'settings' => array(),
'type' => 'text_default',
'weight' => 0,
),
),
'ds_extras_field_template' => '',
'entity_type' => 'bean',
'field_name' => 'field_body',
'label' => 'Content',
'required' => 0,
'settings' => array(
'linkit' => array(
'button_text' => 'Search',
'enable' => 0,
'profile' => '',
),
'text_processing' => 1,
'user_register_form' => FALSE,
),
'widget' => array(
'active' => 1,
'module' => 'text',
'settings' => array(
'maxlength_js' => '',
'maxlength_js_enforce' => 0,
'maxlength_js_label' => 'Content limited to @limit characters, remaining: <strong>@remaining</strong>',
'maxlength_js_truncate_html' => 0,
'rows' => 7,
),
'type' => 'text_textarea',
'weight' => 2,
),
);
$field_instances['node-page-body'] = array(
'bundle' => 'page',
'default_value' => NULL,
'deleted' => 0,
'description' => '',
'display' => array(
'default' => array(
'label' => 'hidden',
'module' => 'text',
'settings' => array(),
'type' => 'text_default',
'weight' => 0,
),
'teaser' => array(
'label' => 'hidden',
'module' => 'text',
'settings' => array(
'trim_length' => 600,
),
'type' => 'text_summary_or_trimmed',
'weight' => 0,
),
),
'entity_type' => 'node',
'field_name' => 'body',
'label' => 'Body',
'required' => FALSE,
'settings' => array(
'display_summary' => TRUE,
'text_processing' => 1,
'user_register_form' => FALSE,
),
'widget' => array(
'module' => 'text',
'settings' => array(
'rows' => 20,
'summary_rows' => 5,
),
'type' => 'text_textarea_with_summary',
'weight' => 1,
),
);
t('Body');
t('Content');
return $field_instances;
}