public function EventOperation::defaultConfiguration in RNG - Events and Registrations 8.2
Same name and namespace in other branches
- 8 src/Plugin/Condition/EventOperation.php \Drupal\rng\Plugin\Condition\EventOperation::defaultConfiguration()
- 3.x src/Plugin/Condition/EventOperation.php \Drupal\rng\Plugin\Condition\EventOperation::defaultConfiguration()
Gets default configuration for this plugin.
Return value
array An associative array with the default configuration.
Overrides ConditionPluginBase::defaultConfiguration
File
- src/
Plugin/ Condition/ EventOperation.php, line 42
Class
- EventOperation
- Provides an identity has operation permission on event condition.
Namespace
Drupal\rng\Plugin\ConditionCode
public function defaultConfiguration() {
return [
'operations' => [
'manage event' => TRUE,
],
] + parent::defaultConfiguration();
}