You are here

public function EventMetaInterface::addDefaultAccess in RNG - Events and Registrations 3.x

Same name and namespace in other branches
  1. 8.2 src/EventMetaInterface.php \Drupal\rng\EventMetaInterface::addDefaultAccess()
  2. 8 src/EventMetaInterface.php \Drupal\rng\EventMetaInterface::addDefaultAccess()

Clones the site default access rules onto the event.

If the site default rules change in the future, the access rules for this event will not get automatically updated.

Access rules determine registration operation grants.

1 method overrides EventMetaInterface::addDefaultAccess()
EventMeta::addDefaultAccess in src/EventMeta.php
Clones the site default access rules onto the event.

File

src/EventMetaInterface.php, line 369

Class

EventMetaInterface
Interface for EventMeta.

Namespace

Drupal\rng

Code

public function addDefaultAccess();