You are here

public function PermissionEventInterface::setPermissions in Organic groups 8

Sets multiple permissions.

Parameters

\Drupal\og\PermissionInterface[] $permissions: The permissions to set, keyed by permission name.

1 method overrides PermissionEventInterface::setPermissions()
PermissionEvent::setPermissions in src/Event/PermissionEvent.php
Sets multiple permissions.

File

src/Event/PermissionEventInterface.php, line 82

Class

PermissionEventInterface
Interface for PermissionEvent classes.

Namespace

Drupal\og\Event

Code

public function setPermissions(array $permissions);