function TipPluginBase::get

Same name and namespace in other branches
  1. 9 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

9 calls to TipPluginBase::get()
TipPluginBase::getAttributes in core/modules/tour/src/TipPluginBase.php
Returns an array of attributes for the tip wrapper.
TipPluginBase::getLabel in core/modules/tour/src/TipPluginBase.php
Returns label of the tip.
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.
TipPluginImage::getOutput in core/modules/tour/tests/tour_test/src/Plugin/tour/tip/TipPluginImage.php
Returns a renderable array.

... See full list

File

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

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.