UserNameFormatter::defaultSettings |
function |
core/modules/user/src/Plugin/Field/FieldFormatter/UserNameFormatter.php |
Defines the default settings for this plugin. |
UserNameFormatter::isApplicable |
function |
core/modules/user/src/Plugin/Field/FieldFormatter/UserNameFormatter.php |
Returns if the formatter can be used for the provided field. |
UserNameFormatter::settingsForm |
function |
core/modules/user/src/Plugin/Field/FieldFormatter/UserNameFormatter.php |
Returns a form to configure settings for the formatter. |
UserNameFormatter::viewElements |
function |
core/modules/user/src/Plugin/Field/FieldFormatter/UserNameFormatter.php |
Builds a renderable array for a field value. |
UserNameFormatterTest |
class |
core/modules/user/tests/src/Kernel/Field/UserNameFormatterTest.php |
Tests the user_name formatter. |
UserNameFormatterTest.php |
file |
core/modules/user/tests/src/Kernel/Field/UserNameFormatterTest.php |
|
UserNameFormatterTest::$bundle |
property |
core/modules/user/tests/src/Kernel/Field/UserNameFormatterTest.php |
|
UserNameFormatterTest::$entityType |
property |
core/modules/user/tests/src/Kernel/Field/UserNameFormatterTest.php |
|
UserNameFormatterTest::$fieldName |
property |
core/modules/user/tests/src/Kernel/Field/UserNameFormatterTest.php |
|
UserNameFormatterTest::$modules |
property |
core/modules/user/tests/src/Kernel/Field/UserNameFormatterTest.php |
Modules to install. |
UserNameFormatterTest::renderEntityFields |
function |
core/modules/user/tests/src/Kernel/Field/UserNameFormatterTest.php |
Renders fields of a given entity with a given display. |
UserNameFormatterTest::setUp |
function |
core/modules/user/tests/src/Kernel/Field/UserNameFormatterTest.php |
|
UserNameFormatterTest::testFormatter |
function |
core/modules/user/tests/src/Kernel/Field/UserNameFormatterTest.php |
Tests the formatter output. |
UserNameItem |
class |
core/modules/user/src/UserNameItem.php |
Defines a custom field item class for the 'name' user entity field. |
UserNameItem.php |
file |
core/modules/user/src/UserNameItem.php |
|
UserNameItem::generateSampleValue |
function |
core/modules/user/src/UserNameItem.php |
Generates placeholder field values. |
UserNameItem::isEmpty |
function |
core/modules/user/src/UserNameItem.php |
Determines whether the data structure is empty. |
UserNameItemTest |
class |
core/modules/user/tests/src/Unit/UserNameItemTest.php |
Defines a test for the UserNameItem field-type. |
UserNameItemTest.php |
file |
core/modules/user/tests/src/Unit/UserNameItemTest.php |
|
UserNameItemTest::providerMaxLength |
function |
core/modules/user/tests/src/Unit/UserNameItemTest.php |
Data provider for maximum-lengths. |
UserNameItemTest::testGenerateSampleValue |
function |
core/modules/user/tests/src/Unit/UserNameItemTest.php |
Tests generating sample values. |
UserNameUnique |
class |
core/modules/user/src/Plugin/Validation/Constraint/UserNameUnique.php |
Checks if a user name is unique on the site. |
UserNameUnique.php |
file |
core/modules/user/src/Plugin/Validation/Constraint/UserNameUnique.php |
|
UserNameUnique::$message |
property |
core/modules/user/src/Plugin/Validation/Constraint/UserNameUnique.php |
|
UserNameValidator |
class |
core/modules/user/src/UserNameValidator.php |
Provides a username validator. |
UserNameValidator.php |
file |
core/modules/user/src/UserNameValidator.php |
|
UserNameValidator::validateName |
function |
core/modules/user/src/UserNameValidator.php |
Validates a user name. |
UserNameValidator::__construct |
function |
core/modules/user/src/UserNameValidator.php |
|
UserNameValidatorTest |
class |
core/modules/user/tests/src/Kernel/UserNameValidatorTest.php |
Verify that user validity checks behave as designed. |
UserNameValidatorTest.php |
file |
core/modules/user/tests/src/Kernel/UserNameValidatorTest.php |
|
UserNameValidatorTest::$modules |
property |
core/modules/user/tests/src/Kernel/UserNameValidatorTest.php |
Modules to install. |
UserNameValidatorTest::$userValidator |
property |
core/modules/user/tests/src/Kernel/UserNameValidatorTest.php |
The user validator under test. |
UserNameValidatorTest::invalidUserNameProvider |
function |
core/modules/user/tests/src/Kernel/UserNameValidatorTest.php |
Provides invalid user names. |
UserNameValidatorTest::setUp |
function |
core/modules/user/tests/src/Kernel/UserNameValidatorTest.php |
|
UserNameValidatorTest::testInvalidUsernames |
function |
core/modules/user/tests/src/Kernel/UserNameValidatorTest.php |
Tests invalid user name validation. |
UserNameValidatorTest::testValidUsernames |
function |
core/modules/user/tests/src/Kernel/UserNameValidatorTest.php |
Tests valid user name validation. |
UserNameValidatorTest::validUsernameProvider |
function |
core/modules/user/tests/src/Kernel/UserNameValidatorTest.php |
Provides valid user names. |
UserResourceTestBase::$labelFieldName |
property |
core/modules/user/tests/src/Functional/Rest/UserResourceTestBase.php |
Optionally specify which field is the 'label' field. |
UserResourceTestBase::$patchProtectedFieldNames |
property |
core/modules/user/tests/src/Functional/Rest/UserResourceTestBase.php |
The fields that are protected against modification during PATCH requests. |
UserSession::$name |
property |
core/lib/Drupal/Core/Session/UserSession.php |
The name of this account. |
UserSession::getAccountName |
function |
core/lib/Drupal/Core/Session/UserSession.php |
Returns the unaltered login name of this account. |
UserSession::getDisplayName |
function |
core/lib/Drupal/Core/Session/UserSession.php |
Returns the display name of this account. |
UserTest::$labelFieldName |
property |
core/modules/jsonapi/tests/src/Functional/UserTest.php |
Specify which field is the 'label' field for testing a POST edge case. |
UserTest::$patchProtectedFieldNames |
property |
core/modules/jsonapi/tests/src/Functional/UserTest.php |
The fields that are protected against modification during PATCH requests. |
UserTest::$resourceTypeName |
property |
core/modules/jsonapi/tests/src/Functional/UserTest.php |
The name of the tested JSON:API resource type. |
UserTest::testResaveAccountName |
function |
core/modules/jsonapi/tests/src/Functional/UserTest.php |
Tests users with altered display names. |
UserTranslationUITest::$name |
property |
core/modules/user/tests/src/Functional/UserTranslationUITest.php |
The user name of the test user. |
UserUid::getSortName |
function |
core/modules/comment/src/Plugin/views/argument/UserUid.php |
Return a description of how the argument would normally be sorted. |
UserValidationTest::testUsernames |
function |
core/modules/user/tests/src/Kernel/UserValidationTest.php |
Tests user name validation. |
user_hooks_test_user_format_name_alter |
function |
core/modules/user/tests/modules/user_hooks_test/user_hooks_test.module |
Implements hook_user_format_name_alter(). |