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

8.4.x
xjm 2017-02-12 16:51:52 -06:00
parent a7c559777e
commit 4577daf39c
3 changed files with 3 additions and 6 deletions

View File

@ -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).

View File

@ -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';

View File

@ -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';