You are here

function atom_reference_elements in Scald: Media Management made easy 6

Implements hook_elements.

File

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

Code

function atom_reference_elements() {
  return array(
    'atom_reference_textfield' => array(
      '#input' => TRUE,
      '#delta' => 0,
      '#columns' => array(
        'sid',
      ),
      '#process' => array(
        'atom_reference_textfield_process',
      ),
    ),
  );
}