You are here

function iframe_elements in Iframe 6

Implementation of hook_elements().

File

./iframe.module, line 514
Defines simple iframe field types. based on the cck-module "link" by quicksketch MODULE-Funtions

Code

function iframe_elements() {
  dmsg(3, 'func iframe_elements');
  $elements = array();
  $elements['iframe'] = array(
    '#input' => TRUE,
    '#columns' => array(
      'url',
      'title',
    ),
    '#process' => array(
      'iframe_process',
    ),
  );
  return $elements;
}