function FilterBase::defaultConfiguration
Same name in other branches
- 9 core/modules/filter/src/Plugin/FilterBase.php \Drupal\filter\Plugin\FilterBase::defaultConfiguration()
- 8.9.x core/modules/filter/src/Plugin/FilterBase.php \Drupal\filter\Plugin\FilterBase::defaultConfiguration()
- 11.x core/modules/filter/src/Plugin/FilterBase.php \Drupal\filter\Plugin\FilterBase::defaultConfiguration()
Overrides ConfigurableInterface::defaultConfiguration
File
-
core/
modules/ filter/ src/ Plugin/ FilterBase.php, line 89
Class
- FilterBase
- Provides a base class for Filter plugins.
Namespace
Drupal\filter\PluginCode
public function defaultConfiguration() {
return [
'provider' => $this->pluginDefinition['provider'],
'status' => FALSE,
'weight' => $this->pluginDefinition['weight'] ?: 0,
'settings' => $this->pluginDefinition['settings'],
];
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.