You are here

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

Return value

string

3 calls to FixedTextFileUrl::getLinkClass()
FixedTextFileUrl::settingsForm in src/Plugin/Field/FieldFormatter/FixedTextFileUrl.php
Returns a form to configure settings for the formatter.
FixedTextFileUrl::settingsSummary in src/Plugin/Field/FieldFormatter/FixedTextFileUrl.php
Returns a short summary for the current formatter settings.
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 75

Class

FixedTextFileUrl
Plugin implementation of the 'file_url_plain' formatter.

Namespace

Drupal\fixed_text_link_formatter\Plugin\Field\FieldFormatter

Code

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