You are here

public function MapThemerBase::getLabelAliasHelp in Geofield Map 8.2

Generate Label Alias Help Message.

Return value

array The label alias help render array..

6 calls to MapThemerBase::getLabelAliasHelp()
EntityTypeThemer::buildMapThemerElement in src/Plugin/GeofieldMapThemer/EntityTypeThemer.php
Provides a Map Themer Options Element.
EntityTypeThemerUrl::buildMapThemerElement in src/Plugin/GeofieldMapThemer/EntityTypeThemerUrl.php
Provides a Map Themer Options Element.
ListFieldThemer::buildMapThemerElement in src/Plugin/GeofieldMapThemer/ListFieldThemer.php
Provides a Map Themer Options Element.
ListFieldThemerUrl::buildMapThemerElement in src/Plugin/GeofieldMapThemer/ListFieldThemerUrl.php
Provides a Map Themer Options Element.
TaxonomyTermThemer::buildMapThemerElement in src/Plugin/GeofieldMapThemer/TaxonomyTermThemer.php
Provides a Map Themer Options Element.

... See full list

File

src/MapThemerBase.php, line 254

Class

MapThemerBase
A base class for MapThemer plugins.

Namespace

Drupal\geofield_map

Code

public function getLabelAliasHelp() {
  return [
    '#type' => 'html_tag',
    '#tag' => 'div',
    '#value' => $this
      ->t('If not empty, this will be used in the legend.'),
    '#attributes' => [
      'style' => [
        'style' => 'font-size:0.8em; color: gray; font-weight: normal',
      ],
    ],
  ];
}