function TipPluginBase::get

Same name and namespace in other branches
  1. 10 core/modules/tour/src/TipPluginBase.php \Drupal\tour\TipPluginBase::get()
  2. 8.9.x core/modules/tour/src/TipPluginBase.php \Drupal\tour\TipPluginBase::get()
2 calls to TipPluginBase::get()
TipPluginImageLegacy::getConfigurationOrNot in core/modules/tour/tests/tour_test/src/Plugin/tour/tip/TipPluginImageLegacy.php
TipPluginImageLegacy::getOutput in core/modules/tour/tests/tour_test/src/Plugin/tour/tip/TipPluginImageLegacy.php
This method should not be used. It is deprecated from TipPluginInterface.

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.