You are here

public function TagPluginBase::getConfiguration in Extensible BBCode 8.3

Same name and namespace in other branches
  1. 4.0.x src/Plugin/TagPluginBase.php \Drupal\xbbcode\Plugin\TagPluginBase::getConfiguration()

Get the plugin configuration.

Return value

array Plugin configuration.

File

src/Plugin/TagPluginBase.php, line 82

Class

TagPluginBase
Provides a base class for XBBCode tag plugins.

Namespace

Drupal\xbbcode\Plugin

Code

public function getConfiguration() : array {
  return [
    'id' => $this
      ->getPluginId(),
    'name' => $this->name,
    'settings' => $this->settings,
  ];
}