You are here

function atom_reference_widget_info in Scald: Media Management made easy 6

Implements hook_widget_info.

File

atom_reference/atom_reference.module, line 182
Defines a new field type, allowing to directly reference Scald Atoms from a node.

Code

function atom_reference_widget_info() {
  return array(
    'atom_reference_textfield' => array(
      'label' => t('Text field'),
      'field types' => array(
        'atom_reference',
      ),
      'multiple values' => CONTENT_HANDLE_CORE,
    ),
  );
}