Commit 88dbc387 authored by alexpott's avatar alexpott

Issue #2429481 by larowlan: Not able to create new tour tip plugin

parent 7bf1e5a4
......@@ -66,7 +66,7 @@ public function getWeight() {
* {@inheritdoc}
*/
public function getAttributes() {
return $this->get('attributes');
return $this->get('attributes') ?: [];
}
/**
......
......@@ -30,8 +30,6 @@ tips:
label: 'The awesome image'
url: 'http://local/image.png'
weight: 1
attributes:
data-id: tour-test-3
tour-test-6:
id: tour-test-6
plugin: text
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment