public function ChangeUserRoleBase::defaultConfiguration in Drupal 9
Same name and namespace in other branches
- 8 core/modules/user/src/Plugin/Action/ChangeUserRoleBase.php \Drupal\user\Plugin\Action\ChangeUserRoleBase::defaultConfiguration()
Gets default configuration for this plugin.
Return value
array An associative array with the default configuration.
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\ActionCode
public function defaultConfiguration() {
return [
'rid' => '',
];
}