function FilterBase::getConfiguration

Same name in other branches
  1. 9 core/modules/filter/src/Plugin/FilterBase.php \Drupal\filter\Plugin\FilterBase::getConfiguration()
  2. 8.9.x core/modules/filter/src/Plugin/FilterBase.php \Drupal\filter\Plugin\FilterBase::getConfiguration()
  3. 11.x core/modules/filter/src/Plugin/FilterBase.php \Drupal\filter\Plugin\FilterBase::getConfiguration()

Overrides ConfigurableInterface::getConfiguration

File

core/modules/filter/src/Plugin/FilterBase.php, line 76

Class

FilterBase
Provides a base class for Filter plugins.

Namespace

Drupal\filter\Plugin

Code

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

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.