Search for name

  1. Search 7.x for name
  2. Search 9.5.x for name
  3. Search 8.9.x for name
  4. Search 10.3.x for name
  5. Other projects

Exact matches

These are exact matches according to your search
Title Object type File name Summary
Name class core/modules/user/src/Plugin/views/filter/Name.php Filter handler for usernames.
Name class core/tests/Drupal/Tests/Component/Annotation/Doctrine/DocParserTest.php

All search results

Title Object type File name Summary
UserNameConstraintValidator::validate function core/modules/user/src/Plugin/Validation/Constraint/UserNameConstraintValidator.php
UserNameFormatter class core/modules/user/src/Plugin/Field/FieldFormatter/UserNameFormatter.php Plugin implementation of the 'user_name' formatter.
UserNameFormatter.php file core/modules/user/src/Plugin/Field/FieldFormatter/UserNameFormatter.php
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.

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.