diff --git a/core/modules/update/update.module b/core/modules/update/update.module index 30c01b70aa6..6ef4628210a 100644 --- a/core/modules/update/update.module +++ b/core/modules/update/update.module @@ -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). diff --git a/core/modules/user/src/UserInterface.php b/core/modules/user/src/UserInterface.php index 291a149a732..6919e0d7b4b 100644 --- a/core/modules/user/src/UserInterface.php +++ b/core/modules/user/src/UserInterface.php @@ -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'; diff --git a/core/modules/user/user.module b/core/modules/user/user.module index 00205a62495..638ed649e5f 100644 --- a/core/modules/user/user.module +++ b/core/modules/user/user.module @@ -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';