You are here

function iframe_field_formatter_info in Iframe 7

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

Implements hook_field_formatter_info(). used in field "manage display" for formatters (Step 4)

File

./iframe.module, line 312
Defines an iframe field with all attributes.

Code

function iframe_field_formatter_info() {
  return array(
    'iframe_formatter_default' => array(
      'label' => t('Title, over iframe (default)'),
      'field types' => array(
        'iframe',
      ),
    ),
    'iframe_formatter_only' => array(
      'label' => t('Iframe without title'),
      'field types' => array(
        'iframe',
      ),
    ),
    'iframe_formatter_asurl' => array(
      'label' => t('A link with the given title'),
      'field types' => array(
        'iframe',
      ),
    ),
    'iframe_formatter_asurlwithuri' => array(
      'label' => t('A link with the uri as title'),
      'field types' => array(
        'iframe',
      ),
    ),
    'iframe_formatter_hidden' => array(
      'label' => t('hidden - not shown (migration only)'),
      'field types' => array(
        'iframe',
      ),
    ),
  );
}