You are here

public function EventOperation::defaultConfiguration in RNG - Events and Registrations 8.2

Same name and namespace in other branches
  1. 8 src/Plugin/Condition/EventOperation.php \Drupal\rng\Plugin\Condition\EventOperation::defaultConfiguration()
  2. 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\Condition

Code

public function defaultConfiguration() {
  return [
    'operations' => [
      'manage event' => TRUE,
    ],
  ] + parent::defaultConfiguration();
}