You are here

public function TipPluginTextExtended::getConfiguration in Tour UI 8

TODO: Remove this method when https://www.drupal.org/node/2851166#comment-11925707 will be commited.

File

src/Plugin/tour_ui/tip/TipPluginTextExtended.php, line 31

Class

TipPluginTextExtended
This plugin override Tour\tip\TipPluginText to add UI methods.

Namespace

Drupal\tour_ui\Plugin\tour_ui\tip

Code

public function getConfiguration() {
  $names = [
    'id',
    'plugin',
    'label',
    'weight',
    'attributes',
    'body',
    'location',
  ];
  foreach ($names as $name) {
    $properties[$name] = $this
      ->get($name);
  }
  return $properties;
}