private function FixedTextLink::getLinkClass in Fixed text link formatter 8
Return value
string
3 calls to FixedTextLink::getLinkClass()
- FixedTextLink::settingsForm in src/
Plugin/ Field/ FieldFormatter/ FixedTextLink.php - Returns a form to configure settings for the formatter.
- FixedTextLink::settingsSummary in src/
Plugin/ Field/ FieldFormatter/ FixedTextLink.php - Returns a short summary for the current formatter settings.
- FixedTextLink::viewElements in src/
Plugin/ Field/ FieldFormatter/ FixedTextLink.php - Builds a renderable array for a field value.
File
- src/
Plugin/ Field/ FieldFormatter/ FixedTextLink.php, line 123
Class
- FixedTextLink
- Plugin implementation of the 'link' formatter.
Namespace
Drupal\fixed_text_link_formatter\Plugin\Field\FieldFormatterCode
private function getLinkClass() {
return $this
->getSettings()['link_class'];
}