public function GroupingBase::defaultConfiguration in Mass Contact 8
Gets default configuration for this plugin.
Return value
array An associative array with the default configuration.
Overrides ConfigurablePluginInterface::defaultConfiguration
2 calls to GroupingBase::defaultConfiguration()
- GroupingBase::setConfiguration in src/
Plugin/ MassContact/ GroupingMethod/ GroupingBase.php - Sets the configuration for this plugin instance.
- Role::__construct in src/
Plugin/ MassContact/ GroupingMethod/ Role.php - Constructs the role grouping plugin.
File
- src/
Plugin/ MassContact/ GroupingMethod/ GroupingBase.php, line 32
Class
- GroupingBase
- Base class for grouping method plugins.
Namespace
Drupal\mass_contact\Plugin\MassContact\GroupingMethodCode
public function defaultConfiguration() {
return [
'categories' => [],
'conjunction' => 'OR',
];
}