function iss_field_info in Image Style Selector 7
Implements hook_field_info().
File
- ./
iss.module, line 34 - Image Style Selector field.
Code
function iss_field_info() {
return array(
'iss' => array(
'label' => t('Image Style Selector'),
'description' => t('This field allows users to select the image style that should be applied to an image.'),
'instance_settings' => array(
'image_field_name' => NULL,
'image_styles' => array(),
),
'default_widget' => 'iss_widget_radios',
'default_formatter' => 'iss_formatter',
'property_type' => 'text',
),
);
}