You are here

public function OgRoleInterface::isRequired in Organic groups 8

Returns if this is a default role which is required and cannot be deleted.

Return value

bool True if this is a default role. False otherwise.

1 method overrides OgRoleInterface::isRequired()
OgRole::isRequired in src/Entity/OgRole.php
Returns if this is a default role which is required and cannot be deleted.

File

src/OgRoleInterface.php, line 198

Class

OgRoleInterface
Provides an interface defining an OG user role entity.

Namespace

Drupal\og

Code

public function isRequired();