You are here

public function TipPluginBase::get in Drupal 10

Same name and namespace in other branches
  1. 8 core/modules/tour/src/TipPluginBase.php \Drupal\tour\TipPluginBase::get()
  2. 9 core/modules/tour/src/TipPluginBase.php \Drupal\tour\TipPluginBase::get()
1 call to TipPluginBase::get()
TipPluginText::getBody in core/modules/tour/src/Plugin/tour/tip/TipPluginText.php
Returns the body content of the tooltip.

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];
  }
}