You are here

function _linkimagefield_widget_url_target_options in Link Image Field 8

Same name and namespace in other branches
  1. 7 linkimagefield.module \_linkimagefield_widget_url_target_options()

The list of URL frame targets.

Return value

array

2 calls to _linkimagefield_widget_url_target_options()
LinkImageField::instanceSettingsForm in lib/Drupal/linkimagefield/Plugin/Field/FieldType/LinkImageField.php
LinkImageFieldWidget::process in lib/Drupal/linkimagefield/Plugin/Field/FieldWidget/LinkImageFieldWidget.php
Form API callback: Processes a image_image field element.

File

./linkimagefield.module, line 79
Defines theming for a link image field.

Code

function _linkimagefield_widget_url_target_options() {
  return array(
    '_self' => t('Same Window (_self)'),
    '_blank' => t('New Window (_blank)'),
    '_parent' => t('Parent Frame (_parent)'),
    '_top' => t('Top Frame (_top)'),
  );
}