function atom_reference_field_widget_info in Scald: Media Management made easy 7
Implements hook_field_widget_info.
File
- modules/
fields/ atom_reference/ atom_reference.module, line 261 - Defines a new field type, allowing to directly reference Scald Atoms from a node.
Code
function atom_reference_field_widget_info() {
return array(
'atom_reference_textfield' => array(
'label' => t('Drop box'),
'field types' => array(
'atom_reference',
),
'settings' => array(
'context' => 'sdl_editor_representation',
),
),
);
}