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
User::getDisplayName function core/modules/user/src/Entity/User.php Returns the display 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 Test user name link.
UserFloodEvent::$name property core/modules/user/src/Event/UserFloodEvent.php Flood event name.
UserFloodEvent::getName function core/modules/user/src/Event/UserFloodEvent.php Gets the name of the user flood event object.
UserHooksTest::userFormatNameAlter function core/modules/user/tests/modules/user_hooks_test/src/Hook/UserHooksTest.php Alters the username.
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.
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/olivero/templates/user/username.html.twig Theme override for displaying a username.
username.html.twig file core/themes/stable9/templates/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/starterkit_theme/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 The violation message when there is no username.
UserNameConstraint::$illegalMessage property core/modules/user/src/Plugin/Validation/Constraint/UserNameConstraint.php The violation message when the username uses an invalid character.
UserNameConstraint::$multipleSpacesMessage property core/modules/user/src/Plugin/Validation/Constraint/UserNameConstraint.php The violation message when the username has consecutive whitespace.
UserNameConstraint::$spaceBeginMessage property core/modules/user/src/Plugin/Validation/Constraint/UserNameConstraint.php The violation message when the username begins with whitespace.
UserNameConstraint::$spaceEndMessage property core/modules/user/src/Plugin/Validation/Constraint/UserNameConstraint.php The violation message when the username ends with whitespace.
UserNameConstraint::$tooLongMessage property core/modules/user/src/Plugin/Validation/Constraint/UserNameConstraint.php The violation message when the username length exceeds the maximum allowed.
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.
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

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