public function TipPluginBase::getAttributes in Drupal 8
Same name and namespace in other branches
- 9 core/modules/tour/src/TipPluginBase.php \Drupal\tour\TipPluginBase::getAttributes()
Returns an array of attributes for the tip wrapper.
Return value
array An array of classes and values.
Overrides TipPluginInterface::getAttributes
1 call to TipPluginBase::getAttributes()
- TipPluginText::getAttributes in core/
modules/ tour/ src/ Plugin/ tour/ tip/ TipPluginText.php - Returns an array of attributes for the tip wrapper.
1 method overrides TipPluginBase::getAttributes()
- TipPluginText::getAttributes in core/
modules/ tour/ src/ Plugin/ tour/ tip/ TipPluginText.php - Returns an array of attributes for the tip wrapper.
File
- core/
modules/ tour/ src/ TipPluginBase.php, line 62
Class
- TipPluginBase
- Defines a base tour item implementation.
Namespace
Drupal\tourCode
public function getAttributes() {
return $this
->get('attributes') ?: [];
}