public function Permission::__construct in Organic groups 8
Constructs a Permission object.
Parameters
array $values: An associative array of values, keyed by property.
File
- src/
Permission.php, line 53
Class
- Permission
- Base class for OG permissions.
Namespace
Drupal\ogCode
public function __construct(array $values = []) {
foreach ($values as $property => $value) {
$this
->set($property, $value);
}
}