You are here

public function TeamRole::isLocked in Apigee Edge 8

Returns whether the team role is locked or not.

Locked team roles can not be deleted.

Return value

bool TRUE if team role is locked, FALSE otherwise.

Overrides TeamRoleInterface::isLocked

File

modules/apigee_edge_teams/src/Entity/TeamRole.php, line 121

Class

TeamRole
Defines the Team Role entity.

Namespace

Drupal\apigee_edge_teams\Entity

Code

public function isLocked() : bool {
  return $this->locked;
}