function blockreference_field_info in Block reference 7.2
Same name and namespace in other branches
- 6 blockreference.module \blockreference_field_info()
- 7 blockreference.module \blockreference_field_info()
Implements hook_field_info().
File
- ./
blockreference.field.inc, line 6
Code
function blockreference_field_info() {
return array(
'blockreference' => array(
'label' => t('Block reference'),
'property_type' => 'block_moddelta',
'property_callbacks' => array(
'blockreference_field_entity_property_callback',
),
'description' => t('This field stores the ID of a related block as an integer value.'),
'settings' => array(
'referenceable_modules' => array(),
),
'default_widget' => 'options_select',
'default_formatter' => 'blockreference_default',
),
);
}