function 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');
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.