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
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 The default violation message.
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_load_by_name function core/modules/user/user.module Fetches a user object by account name.
user_validate_name function core/modules/user/user.module Verify the syntax of the given name.
ValidateHostnameTest class core/tests/Drupal/Tests/Core/DrupalKernel/ValidateHostnameTest.php @coversDefaultClass \Drupal\Core\DrupalKernel[[api-linebreak]]
@group DrupalKernel
ValidateHostnameTest.php file core/tests/Drupal/Tests/Core/DrupalKernel/ValidateHostnameTest.php
ValidateHostnameTest::providerTestValidateHostname function core/tests/Drupal/Tests/Core/DrupalKernel/ValidateHostnameTest.php Provides test data for testValidateHostname().
ValidateHostnameTest::testValidateHostname function core/tests/Drupal/Tests/Core/DrupalKernel/ValidateHostnameTest.php @covers ::validateHostname[[api-linebreak]]
@dataProvider providerTestValidateHostname
ViewAjaxControllerTest::testMissingViewName function core/modules/views/tests/src/Unit/Controller/ViewAjaxControllerTest.php Tests missing view_name and view_display_id.
ViewExecutable::$plugin_name property core/modules/views/src/ViewExecutable.php The plugin name.
views.view.taxonomy_translated_term_name_test.yml file core/modules/taxonomy/tests/modules/taxonomy_test_views/test_views/views.view.taxonomy_translated_term_name_test.yml core/modules/taxonomy/tests/modules/taxonomy_test_views/test_views/views.view.taxonomy_translated_term_name_test.yml
views.view.test_comment_field_name.yml file core/modules/comment/tests/modules/comment_test_views/test_views/views.view.test_comment_field_name.yml core/modules/comment/tests/modules/comment_test_views/test_views/views.view.test_comment_field_name.yml
views.view.test_taxonomy_name_argument.yml file core/modules/taxonomy/tests/modules/taxonomy_test_views/test_views/views.view.test_taxonomy_name_argument.yml core/modules/taxonomy/tests/modules/taxonomy_test_views/test_views/views.view.test_taxonomy_name_argument.yml
views.view.test_taxonomy_term_name.yml file core/modules/taxonomy/tests/modules/taxonomy_test_views/test_views/views.view.test_taxonomy_term_name.yml core/modules/taxonomy/tests/modules/taxonomy_test_views/test_views/views.view.test_taxonomy_term_name.yml
views.view.test_user_name.yml file core/modules/user/tests/modules/user_test_views/test_views/views.view.test_user_name.yml core/modules/user/tests/modules/user_test_views/test_views/views.view.test_user_name.yml
views.view.test_views_handler_field_user_name.yml file core/modules/user/tests/modules/user_test_views/test_views/views.view.test_views_handler_field_user_name.yml core/modules/user/tests/modules/user_test_views/test_views/views.view.test_views_handler_field_user_name.yml
views.view.test_view_argument_validate_username.yml file core/modules/user/tests/modules/user_test_views/test_views/views.view.test_view_argument_validate_username.yml core/modules/user/tests/modules/user_test_views/test_views/views.view.test_view_argument_validate_username.yml
Views::fetchPluginNames function core/modules/views/src/Views.php Fetches a list of plugin names for a given type.

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