public function TipPluginBase::get in Drupal 9
Same name and namespace in other branches
- 8 core/modules/tour/src/TipPluginBase.php \Drupal\tour\TipPluginBase::get()
Used for returning values by key.
Key of the value.
Return value
string Value of the key.
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.
File
- core/
modules/ tour/ src/ TipPluginBase.php, line 109
Class
- TipPluginBase
- Defines a base tour item implementation.
Namespace
Drupal\tourCode
public function get($key) {
if (!empty($this->configuration[$key])) {
return $this->configuration[$key];
}
}