You are here

function shrinktheweb_field_formatter_info in ShrinkTheWeb 7

Implementation of hook_field_formatter_info().

File

./shrinktheweb.module, line 159

Code

function shrinktheweb_field_formatter_info() {
  return array(
    // -- Link module ----------------------------
    'shrinktheweb_link_no_text' => array(
      'label' => t('[ShrinkTheWeb] No link text'),
      'field types' => array(
        'link_field',
      ),
      'multiple values' => FIELD_BEHAVIOR_DEFAULT,
    ),
    'shrinktheweb_link_default' => array(
      'label' => t('[ShrinkTheWeb] Title, as link'),
      'field types' => array(
        'link_field',
      ),
      'multiple values' => FIELD_BEHAVIOR_DEFAULT,
    ),
    'shrinktheweb_link_url' => array(
      'label' => t('[ShrinkTheWeb] URL, as link'),
      'field types' => array(
        'link_field',
      ),
      'multiple values' => FIELD_BEHAVIOR_DEFAULT,
    ),
    'shrinktheweb_link_plain' => array(
      'label' => t('[ShrinkTheWeb] URL, as plain text'),
      'field types' => array(
        'link_field',
      ),
      'multiple values' => FIELD_BEHAVIOR_DEFAULT,
    ),
    'shrinktheweb_link_short' => array(
      'label' => t('[ShrinkTheWeb] Short, as link with title "Link"'),
      'field types' => array(
        'link_field',
      ),
      'multiple values' => FIELD_BEHAVIOR_DEFAULT,
    ),
    'shrinktheweb_link_label' => array(
      'label' => t('[ShrinkTheWeb] Label, as link with label as title'),
      'field types' => array(
        'link_field',
      ),
      'multiple values' => FIELD_BEHAVIOR_DEFAULT,
    ),
    'shrinktheweb_link_separate' => array(
      'label' => t('[ShrinkTheWeb] Separate title and URL'),
      'field types' => array(
        'link_field',
      ),
      'multiple values' => FIELD_BEHAVIOR_DEFAULT,
    ),
    'shrinktheweb_link_image' => array(
      'label' => t('[ShrinkTheWeb] Image, as link'),
      'field types' => array(
        'link_field',
      ),
      'multiple values' => FIELD_BEHAVIOR_DEFAULT,
    ),
  );
}