public function OgRole::__construct in Organic groups 8
Constructs an OgRole object.
Parameters
array $values: An array of values to set, keyed by property name.
Overrides ConfigEntityBase::__construct
File
- src/
Entity/ OgRole.php, line 63
Class
- OgRole
- Defines the OG user role entity class.
Namespace
Drupal\og\EntityCode
public function __construct(array $values) {
parent::__construct($values, 'og_role');
}