You are here

public function TipPluginBase::getLabel in Drupal 9

Same name and namespace in other branches
  1. 8 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()
TipPluginTextLegacy::getOutput in core/modules/tour/tests/tour_test/src/Plugin/tour/tip/TipPluginTextLegacy.php
This method should not be used. It is deprecated from TipPluginInterface.

File

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

Class

TipPluginBase
Defines a base tour item implementation.

Namespace

Drupal\tour

Code

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