You are here

public function RngEventType::setEventManageOperation in RNG - Events and Registrations 3.x

Same name and namespace in other branches
  1. 8.2 src/Entity/RngEventType.php \Drupal\rng\Entity\RngEventType::setEventManageOperation()

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/RngEventType.php, line 205

Class

RngEventType
Defines the event type entity.

Namespace

Drupal\rng\Entity

Code

public function setEventManageOperation($permission) {
  $this->mirror_operation_to_event_manage = $permission;
  return $this;
}