function TipPluginBase::get

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

Overrides TipPluginInterface::get

14 calls to TipPluginBase::get()
TipPluginBase::getAttributes in core/modules/tour/src/TipPluginBase.php
@todo remove in https://drupal.org/node/3195193
TipPluginBase::getLabel in core/modules/tour/src/TipPluginBase.php
Returns label of the tip.
TipPluginBase::getLocation in core/modules/tour/src/TipPluginBase.php
Determines the placement of the tip relative to the element.
TipPluginBase::getSelector in core/modules/tour/src/TipPluginBase.php
The selector the tour tip will attach to.
TipPluginBase::getWeight in core/modules/tour/src/TipPluginBase.php
Returns weight of the tip.

... See full list

File

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

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.