ChangeUserRoleBase::$entityType

Same name and namespace in other branches
  1. 9 core/modules/user/src/Plugin/Action/ChangeUserRoleBase.php \Drupal\user\Plugin\Action\ChangeUserRoleBase::entityType
  2. 8.9.x core/modules/user/src/Plugin/Action/ChangeUserRoleBase.php \Drupal\user\Plugin\Action\ChangeUserRoleBase::entityType
  3. 11.x core/modules/user/src/Plugin/Action/ChangeUserRoleBase.php \Drupal\user\Plugin\Action\ChangeUserRoleBase::entityType

The user role entity type.

Type: \Drupal\Core\Entity\EntityTypeInterface

File

core/modules/user/src/Plugin/Action/ChangeUserRoleBase.php, line 27

Class

ChangeUserRoleBase
Provides a base class for operations to change a user's role.

Namespace

Drupal\user\Plugin\Action

Code

protected $entityType;

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.