function TipPluginBase::get

Same name and namespace in other branches
  1. 9 core/modules/tour/src/TipPluginBase.php \Drupal\tour\TipPluginBase::get()
  2. 8.9.x core/modules/tour/src/TipPluginBase.php \Drupal\tour\TipPluginBase::get()
  3. 10 core/modules/tour/src/TipPluginBase.php \Drupal\tour\TipPluginBase::get()

Overrides TipPluginInterface::get

10 calls to TipPluginBase::get()
TipPluginBase::getLabel in core/modules/tour/src/TipPluginBase.php
Returns label of the tip.
TipPluginBase::getLocation in core/modules/tour/src/TipPluginBase.php
Returns the configured placement of the tip relative to the element.
TipPluginBase::getSelector in core/modules/tour/src/TipPluginBase.php
Returns the selector the tour tip will attach to.
TipPluginBase::getWeight in core/modules/tour/src/TipPluginBase.php
Returns weight of the tip.
TipPluginBase::id in core/modules/tour/src/TipPluginBase.php
Returns id of the tip.

... See full list

File

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

Class

TipPluginBase
Defines a base tour item implementation.

Namespace

Drupal\tour

Code

public function get($key) {
    if (!empty($this->configuration[$key])) {
        return $this->configuration[$key];
    }
}

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