You are here

private function FixedTextFileUrl::openLinkInNewWindow in Fixed text link formatter 8

Return value

boolean

2 calls to FixedTextFileUrl::openLinkInNewWindow()
FixedTextFileUrl::settingsForm in src/Plugin/Field/FieldFormatter/FixedTextFileUrl.php
Returns a form to configure settings for the formatter.
FixedTextFileUrl::viewElements in src/Plugin/Field/FieldFormatter/FixedTextFileUrl.php
Builds a renderable array for a field value.

File

src/Plugin/Field/FieldFormatter/FixedTextFileUrl.php, line 82

Class

FixedTextFileUrl
Plugin implementation of the 'file_url_plain' formatter.

Namespace

Drupal\fixed_text_link_formatter\Plugin\Field\FieldFormatter

Code

private function openLinkInNewWindow() {
  return $this
    ->getSettings()['open_in_new_window'];
}