Overrides \Drupal\tour\TipPluginBase::getAttributes().
Overrides TipPluginBase::getAttributes
public function getAttributes() {
$attributes = parent::getAttributes();
$attributes['data-aria-describedby'] = 'tour-tip-' . $this
->getAriaId() . '-contents';
$attributes['data-aria-labelledby'] = 'tour-tip-' . $this
->getAriaId() . '-label';
if ($location = $this
->get('location')) {
$attributes['data-options'] = 'tipLocation:' . $location;
}
return $attributes;
}