You are here

public function TipPluginBase::getLabel in Drupal 8

Same name and namespace in other branches
  1. 9 core/modules/tour/src/TipPluginBase.php \Drupal\tour\TipPluginBase::getLabel()

Returns label of the tip.

Return value

string The label of the tip.

Overrides TipPluginInterface::getLabel

1 call to TipPluginBase::getLabel()
TipPluginText::getOutput in core/modules/tour/src/Plugin/tour/tip/TipPluginText.php
Returns a renderable array.

File

core/modules/tour/src/TipPluginBase.php, line 48

Class

TipPluginBase
Defines a base tour item implementation.

Namespace

Drupal\tour

Code

public function getLabel() {
  return $this
    ->get('label');
}