function inline_conditions_field_info in Inline Conditions 7
Implements hook_field_info().
File
- ./
inline_conditions.field.inc, line 11 - Field module functionality for the Inline Conditions module.
Code
function inline_conditions_field_info() {
return array(
'inline_conditions' => array(
'label' => t('Inline conditions'),
'description' => t('This field stores conditions that are later added to a matching rule.'),
// entity_type is the type of the entity operated on by the matching rule.
'instance_settings' => array(
'entity_type' => NULL,
),
'default_widget' => 'inline_conditions',
'default_formatter' => 'hidden',
'no_ui' => TRUE,
'property_type' => 'inline_conditions',
'property_callbacks' => array(
'inline_conditions_field_property_callback',
),
),
);
}