Commit 4577daf3 authored by xjm's avatar xjm

Issue #2807785 followup by xjm: Fix coding standards for new constants.

parent a7c55977
......@@ -16,9 +16,7 @@
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 @@
*
* @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';
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment