function TipPluginBase::getLabel

Returns label of the tip.

Return value

string The label of the tip.

Overrides TipPluginInterface::getLabel

File

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

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.