Search for name

  1. Search 7.x for name
  2. Search 9.5.x for name
  3. Search 10.3.x for name
  4. Search 11.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
UnitTestCase::getBlockMockWithMachineName function core/tests/Drupal/Tests/UnitTestCase.php Mocks a block with a block plugin.
UnitTestCase::randomMachineName function core/tests/Drupal/Tests/UnitTestCase.php Generates a unique random string containing letters and numbers.
UnitTestCaseDeprecationTest::testDeprecatedGetBlockMockWithMachineName function core/tests/Drupal/Tests/UnitTestCaseDeprecationTest.php @covers ::getBlockMockWithMachineName
@expectedDeprecation Drupal\Tests\UnitTestCase::getBlockMockWithMachineName is deprecated in Drupal 8.5.x, will be removed before Drupal 9.0.0. Unit test base classes should not have dependencies on extensions.…
UnroutedUrlTest::testGetRouteName function core/tests/Drupal/Tests/Core/UnroutedUrlTest.php Tests the getRouteName() method.
Updater::getProjectName function core/lib/Drupal/Core/Updater/Updater.php Gets the name of the project directory (basename).
UpdateRegistry::$logFilename property core/lib/Drupal/Core/Update/UpdateRegistry.php The filename of the log file.
UpdaterInterface::getProjectName function core/lib/Drupal/Core/Updater/UpdaterInterface.php Returns the system name of the project.
UpdateSettingsForm::getEditableConfigNames function core/modules/update/src/UpdateSettingsForm.php Gets the configuration names that will be editable.
UpdateUploadTest::testFileNameExtensionMerging function core/modules/update/tests/src/Functional/UpdateUploadTest.php Ensures that archiver extensions are properly merged in the UI.
Url::$routeName property core/lib/Drupal/Core/Url.php The route name.
Url::getRouteName function core/lib/Drupal/Core/Url.php Returns the route name.
UrlTest::testFromRouteUriWithMissingRouteName function core/tests/Drupal/Tests/Core/UrlTest.php @covers ::fromUri
UrlTest::testGetRouteName function core/tests/Drupal/Tests/Core/UrlTest.php Tests the getRouteName() method.
UrlTest::testGetRouteNameWithExternalUrl function core/tests/Drupal/Tests/Core/UrlTest.php Tests the getRouteName() with an external URL.
User::getAccountName function core/modules/user/src/Entity/User.php Returns the unaltered login name of this account.
User::getDisplayName function core/modules/user/src/Entity/User.php Returns the display name of this account.
User::getUsername function core/modules/user/src/Entity/User.php Returns the unaltered login name of this account.
User::setUsername function core/modules/user/src/Entity/User.php Sets the username of this account.
UserAccessControlHandlerTest::testUserNameAccess function core/modules/user/tests/src/Unit/UserAccessControlHandlerTest.php Ensures user name access is working properly.
UserAccessControlHandlerTest::userNameProvider function core/modules/user/tests/src/Unit/UserAccessControlHandlerTest.php Provides test data for testUserNameAccess().
UserAuthTest::$username property core/modules/user/tests/src/Unit/UserAuthTest.php The test username.
UserFieldsAccessChangeTest::testUserNameLink function core/modules/user/tests/src/Functional/Views/UserFieldsAccessChangeTest.php Tests the user name formatter shows a link to the user when there is
access but not otherwise.
UserInterface::setUsername function core/modules/user/src/UserInterface.php Sets the username of this account.
UserInterface::USERNAME_MAX_LENGTH constant core/modules/user/src/UserInterface.php Maximum length of username text field.
UserLegacyTest::testUserFormatName function core/modules/user/tests/src/Kernel/UserLegacyTest.php Tests user_format_name().
UserLoginForm::validateName function core/modules/user/src/Form/UserLoginForm.php Sets an error if supplied username has been blocked.
UserName class core/modules/user/src/Plugin/views/argument_validator/UserName.php Validates whether a user name is valid.
username.html.twig file core/modules/user/templates/username.html.twig Default theme implementation for displaying a username.
username.html.twig file core/profiles/demo_umami/themes/umami/templates/classy/user/username.html.twig Theme override for displaying a username.
username.html.twig file core/themes/seven/templates/classy/user/username.html.twig Theme override for displaying a username.
username.html.twig file core/themes/claro/templates/classy/user/username.html.twig Theme override for displaying a username.
username.html.twig file core/themes/bartik/templates/classy/user/username.html.twig Theme override for displaying a username.
username.html.twig file core/themes/stable/templates/user/username.html.twig Theme override for displaying a username.
username.html.twig file core/themes/classy/templates/user/username.html.twig Theme override for displaying a username.
UserName.php file core/modules/user/src/Plugin/views/argument_validator/UserName.php
UserName::buildOptionsForm function core/modules/user/src/Plugin/views/argument_validator/UserName.php Provides the default form for setting options.
UserName::processSummaryArguments function core/modules/user/src/Plugin/views/argument_validator/UserName.php Processes the summary arguments for displaying.
UserName::validateArgument function core/modules/user/src/Plugin/views/argument_validator/UserName.php Performs validation for a given argument.
UserNameConstraint class core/modules/user/src/Plugin/Validation/Constraint/UserNameConstraint.php Checks if a value is a valid user name.
UserNameConstraint.php file core/modules/user/src/Plugin/Validation/Constraint/UserNameConstraint.php
UserNameConstraint::$emptyMessage property core/modules/user/src/Plugin/Validation/Constraint/UserNameConstraint.php
UserNameConstraint::$illegalMessage property core/modules/user/src/Plugin/Validation/Constraint/UserNameConstraint.php
UserNameConstraint::$multipleSpacesMessage property core/modules/user/src/Plugin/Validation/Constraint/UserNameConstraint.php
UserNameConstraint::$spaceBeginMessage property core/modules/user/src/Plugin/Validation/Constraint/UserNameConstraint.php
UserNameConstraint::$spaceEndMessage property core/modules/user/src/Plugin/Validation/Constraint/UserNameConstraint.php
UserNameConstraint::$tooLongMessage property core/modules/user/src/Plugin/Validation/Constraint/UserNameConstraint.php
UserNameConstraintValidator class core/modules/user/src/Plugin/Validation/Constraint/UserNameConstraintValidator.php Validates the UserName constraint.
UserNameConstraintValidator.php file core/modules/user/src/Plugin/Validation/Constraint/UserNameConstraintValidator.php
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.

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