function ChangeUserRoleBase::defaultConfiguration

Same name and namespace in other branches
  1. 8.9.x core/modules/user/src/Plugin/Action/ChangeUserRoleBase.php \Drupal\user\Plugin\Action\ChangeUserRoleBase::defaultConfiguration()
  2. 10 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 51

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.