function TipPluginBase::getAttributes

Same name and namespace in other branches
  1. 9 core/modules/tour/src/TipPluginBase.php \Drupal\tour\TipPluginBase::getAttributes()

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\tour

Code

public function getAttributes() {
    return $this->get('attributes') ?: [];
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.