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
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 enable.
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.
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
USERNAME_MAX_LENGTH constant core/modules/user/user.module Maximum length of username text field.
UserResourceTestBase::$labelFieldName property core/modules/user/tests/src/Functional/Rest/UserResourceTestBase.php Optionally specify which field is the 'label' field. Some entities specify
a 'label_callback', but not a 'label' entity key. For example: User.
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.
UserSession::getUsername function core/lib/Drupal/Core/Session/UserSession.php Returns the unaltered login 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_format_name function core/modules/user/user.module Format a username.
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().
user_load_by_name function core/modules/user/user.module Fetches a user object by account name.
user_role_names function core/modules/user/user.module Retrieves the names of roles matching specified conditions.
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
@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
@dataProvider providerTestValidateHostname
ValidatorTest::testFileValidateNameLength function core/modules/file/tests/src/Kernel/ValidatorTest.php This will ensure the filename length is valid.
View::fixTableNames function core/modules/views/src/Entity/View.php Fixes table names for revision metadata fields of revisionable entities.
ViewAjaxControllerTest::testMissingViewName function core/modules/views/tests/src/Unit/Controller/ViewAjaxControllerTest.php Tests missing view_name and view_display_id
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_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

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