function ChangeUserRoleBase::defaultConfiguration

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

Overrides ConfigurableActionBase::defaultConfiguration

File

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

Class

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

Namespace

Drupal\user\Plugin\Action

Code

public function defaultConfiguration() {
    return [
        'rid' => '',
    ];
}

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