public function TipPluginBase::get

Implements \Drupal\tour\TipPluginInterface::get().

Overrides TipPluginInterface::get

8 calls to TipPluginBase::get()

File

drupal/core/modules/tour/lib/Drupal/tour/TipPluginBase.php, line 63
Contains \Drupal\tour\TipPluginBase.

Class

TipPluginBase
Defines a base tour implementation.

Namespace

Drupal\tour

Code

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