public function MessagePurgeBase::getConfiguration in Message 8
Gets this plugin's configuration.
Return value
array An array of this plugin's configuration.
Overrides ConfigurableInterface::getConfiguration
File
- src/
MessagePurgeBase.php, line 154
Class
- MessagePurgeBase
- Base implementation for MessagePurge plugins.
Namespace
Drupal\messageCode
public function getConfiguration() {
return [
'id' => $this
->getPluginId(),
'weight' => $this
->getWeight(),
'data' => $this->configuration,
];
}