function EventType::setEventManageOperation in RNG - Events and Registrations 8
Sets operation to mirror from the event entity.
Parameters
string $permission: The operation to mirror.
Return value
static Return this event type for chaining.
Overrides EventTypeInterface::setEventManageOperation
File
- src/
Entity/ EventType.php, line 165
Class
- EventType
- Defines the event type entity.
Namespace
Drupal\rng\EntityCode
function setEventManageOperation($permission) {
$this->mirror_operation_to_event_manage = $permission;
return $this;
}