ChangeUserRoleBase::$entityType

Same name in other branches
  1. 9 core/modules/user/src/Plugin/Action/ChangeUserRoleBase.php \Drupal\user\Plugin\Action\ChangeUserRoleBase::entityType
  2. 10 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 26

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.