Issue #2807785 followup by xjm: Fix coding standards for new constants.
parent
a7c559777e
commit
4577daf39c
|
@ -16,9 +16,7 @@ use Drupal\Core\Form\FormStateInterface;
|
|||
use Drupal\Core\Routing\RouteMatchInterface;
|
||||
use Drupal\Core\Site\Settings;
|
||||
|
||||
/*
|
||||
* These are internally used constants for this code, do not modify.
|
||||
*/
|
||||
// These are internally used constants for this code, do not modify.
|
||||
|
||||
/**
|
||||
* Project is missing security update(s).
|
||||
|
|
|
@ -31,8 +31,7 @@ interface UserInterface extends ContentEntityInterface, EntityChangedInterface,
|
|||
const REGISTER_VISITORS = 'visitors';
|
||||
|
||||
/**
|
||||
* Visitors can create accounts, but they don't become active without
|
||||
* administrative approval.
|
||||
* Visitors can create accounts that only become active with admin approval.
|
||||
*/
|
||||
const REGISTER_VISITORS_ADMINISTRATIVE_APPROVAL = 'visitors_admin_approval';
|
||||
|
||||
|
|
|
@ -56,7 +56,7 @@ const USER_REGISTER_VISITORS = 'visitors';
|
|||
*
|
||||
* @deprecated in Drupal 8.3.x and will be removed before Drupal 9.0.0.
|
||||
* Use \Drupal\user\UserInterface::REGISTER_VISITORS_ADMINISTRATIVE_APPROVAL
|
||||
* instead.
|
||||
* instead.
|
||||
*/
|
||||
const USER_REGISTER_VISITORS_ADMINISTRATIVE_APPROVAL = 'visitors_admin_approval';
|
||||
|
||||
|
|
Loading…
Reference in New Issue