public function MessageType::defaultConfiguration in Better Messages 8
Gets default configuration for this plugin.
Return value
array An associative array with the default configuration.
Overrides ConditionPluginBase::defaultConfiguration
File
- src/
Plugin/ Condition/ MessageType.php, line 34
Class
- MessageType
- Provides a 'Message type' condition.
Namespace
Drupal\better_messages\Plugin\ConditionCode
public function defaultConfiguration() {
return [
'message_types' => [],
] + parent::defaultConfiguration();
}