You are here

public function ShortcodeBase::getConfiguration in Shortcode 8

Same name and namespace in other branches
  1. 2.0.x src/Plugin/ShortcodeBase.php \Drupal\shortcode\Plugin\ShortcodeBase::getConfiguration()

Gets this plugin's configuration.

Return value

array An array of this plugin's configuration.

Overrides ConfigurableInterface::getConfiguration

File

src/Plugin/ShortcodeBase.php, line 76

Class

ShortcodeBase
Provides a base class for Shortcode plugins.

Namespace

Drupal\shortcode\Plugin

Code

public function getConfiguration() {
  return [
    'id' => $this
      ->getPluginId(),
    'provider' => $this->pluginDefinition['provider'],
    'status' => $this->status,
    'settings' => $this->settings,
  ];
}