function TipPluginBase::getAttributes

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

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.