You are here

function iframe_field_formatter_info in Iframe 6

Same name and namespace in other branches
  1. 7 iframe.module \iframe_field_formatter_info()

Implementation of hook_field_formatter_info().

File

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

Code

function iframe_field_formatter_info() {
  dmsg(3, 'func iframe_field_formatter_info');
  return array(
    'default' => array(
      'label' => t('Title, over iframe (default)'),
      'field types' => array(
        'iframe',
      ),
      'multiple values' => CONTENT_HANDLE_CORE,
    ),
    'iframeonly' => array(
      'label' => t('IFrame without title'),
      'field types' => array(
        'iframe',
      ),
      'multiple values' => CONTENT_HANDLE_CORE,
    ),
    'asurl' => array(
      'label' => t('A link with the given title'),
      'field types' => array(
        'iframe',
      ),
      'multiple values' => CONTENT_HANDLE_CORE,
    ),
    'asurl_withuri' => array(
      'label' => t('A link with the iframe uri'),
      'field types' => array(
        'iframe',
      ),
      'multiple values' => CONTENT_HANDLE_CORE,
    ),
  );
}