public function TagPluginBase::defaultConfiguration in Extensible BBCode 4.0.x
Same name and namespace in other branches
- 8.3 src/Plugin/TagPluginBase.php \Drupal\xbbcode\Plugin\TagPluginBase::defaultConfiguration()
Get default plugin configuration from definition.
Return value
array Default plugin configuration.
File
- src/
Plugin/ TagPluginBase.php, line 96
Class
- TagPluginBase
- Provides a base class for XBBCode tag plugins.
Namespace
Drupal\xbbcode\PluginCode
public function defaultConfiguration() : array {
return [
'name' => $this->pluginDefinition['name'],
'settings' => $this->pluginDefinition['settings'],
];
}