ImageFieldTestBase::$adminUser |
property |
core/modules/image/tests/src/Functional/ImageFieldTestBase.php |
A user with permissions to administer content types and image styles. |
ImageFormatter::$currentUser |
property |
core/modules/image/src/Plugin/Field/FieldFormatter/ImageFormatter.php |
The current user. |
ImageTestBase::$adminUser |
property |
core/modules/ckeditor5/tests/src/FunctionalJavascript/ImageTestBase.php |
The user to use during testing. |
ImageUploadTest::$user |
property |
core/modules/ckeditor5/tests/src/Functional/ImageUploadTest.php |
A user without any particular permissions to be used in testing. |
ImageUrlFormatter::$currentUser |
property |
core/modules/image/src/Plugin/Field/FieldFormatter/ImageUrlFormatter.php |
The current user. |
InlineBlock::$currentUser |
property |
core/modules/layout_builder/src/Plugin/Block/InlineBlock.php |
The current user. |
InlineFormErrorsIntegrationTest::$editorUser |
property |
core/modules/quickedit/tests/src/FunctionalJavascript/InlineFormErrorsIntegrationTest.php |
An editor user with permissions to access the in-place editor. |
InstallHelper::getUser |
function |
core/profiles/demo_umami/modules/demo_umami_content/src/InstallHelper.php |
Looks up a user by name, if it is missing the user is created. |
InstallTest::testEnableUserTwice |
function |
core/modules/system/tests/src/Functional/Module/InstallTest.php |
Tests enabling User module once more. |
IntegrationTest::$deniedUser |
property |
core/modules/statistics/tests/src/Functional/Views/IntegrationTest.php |
A test user with node viewing access only. |
IntegrationTest::$webUser |
property |
core/modules/statistics/tests/src/Functional/Views/IntegrationTest.php |
Stores the user object that accesses the page. |
InternalEntitiesTest::$testUser |
property |
core/modules/jsonapi/tests/src/Functional/InternalEntitiesTest.php |
A test user. |
InvalidUpdateHookTest::$updateUser |
property |
core/modules/system/tests/src/Functional/UpdateSystem/InvalidUpdateHookTest.php |
A user account with upgrade permission. |
IsSuperUserCacheContext |
class |
core/lib/Drupal/Core/Cache/Context/IsSuperUserCacheContext.php |
Defines the IsSuperUserCacheContext service, for "super user or not" caching. |
IsSuperUserCacheContext.php |
file |
core/lib/Drupal/Core/Cache/Context/IsSuperUserCacheContext.php |
|
IsSuperUserCacheContext::getCacheableMetadata |
function |
core/lib/Drupal/Core/Cache/Context/IsSuperUserCacheContext.php |
Gets the cacheability metadata for the context. |
IsSuperUserCacheContext::getContext |
function |
core/lib/Drupal/Core/Cache/Context/IsSuperUserCacheContext.php |
Returns the string representation of the cache context. |
IsSuperUserCacheContext::getLabel |
function |
core/lib/Drupal/Core/Cache/Context/IsSuperUserCacheContext.php |
Returns the label of the cache context. |
JsonApiDocumentTopLevelNormalizerTest::$user |
property |
core/modules/jsonapi/tests/src/Kernel/Normalizer/JsonApiDocumentTopLevelNormalizerTest.php |
A user to normalize. |
JsonApiDocumentTopLevelNormalizerTest::$user2 |
property |
core/modules/jsonapi/tests/src/Kernel/Normalizer/JsonApiDocumentTopLevelNormalizerTest.php |
A user. |
JsonApiFunctionalTestBase::$user |
property |
core/modules/jsonapi/tests/src/Functional/JsonApiFunctionalTestBase.php |
Test user. |
JsonApiFunctionalTestBase::$userCanViewProfiles |
property |
core/modules/jsonapi/tests/src/Functional/JsonApiFunctionalTestBase.php |
Test user with access to view profiles. |
jsonapi_jsonapi_user_filter_access |
function |
core/modules/jsonapi/jsonapi.module |
Implements hook_jsonapi_ENTITY_TYPE_filter_access() for 'user'. |
jsonapi_test_user.info.yml |
file |
core/modules/jsonapi/tests/modules/jsonapi_test_user/jsonapi_test_user.info.yml |
core/modules/jsonapi/tests/modules/jsonapi_test_user/jsonapi_test_user.info.yml |
jsonapi_test_user.module |
file |
core/modules/jsonapi/tests/modules/jsonapi_test_user/jsonapi_test_user.module |
Support module for JSON:API user hooks testing. |
jsonapi_test_user_user_format_name_alter |
function |
core/modules/jsonapi/tests/modules/jsonapi_test_user/jsonapi_test_user.module |
Implements hook_user_format_name_alter(). |
LanguageConfigSchemaTest::$adminUser |
property |
core/modules/language/tests/src/Functional/LanguageConfigSchemaTest.php |
A user with administrative permissions. |
LanguageNegotiationMethodBase::$currentUser |
property |
core/modules/language/src/LanguageNegotiationMethodBase.php |
The current active user. |
LanguageNegotiationMethodBase::setCurrentUser |
function |
core/modules/language/src/LanguageNegotiationMethodBase.php |
Injects the current user. |
LanguageNegotiationMethodInterface::setCurrentUser |
function |
core/modules/language/src/LanguageNegotiationMethodInterface.php |
Injects the current user. |
LanguageNegotiationSessionTest::$adminUser |
property |
core/modules/language/tests/src/Functional/LanguageNegotiationSessionTest.php |
An administrative user to configure the test environment. |
LanguageNegotiationUrlTest::$user |
property |
core/modules/language/tests/src/Unit/LanguageNegotiationUrlTest.php |
|
LanguageNegotiationUrlTest::$user |
property |
core/modules/language/tests/src/Functional/LanguageNegotiationUrlTest.php |
|
LanguageNegotiationUser |
class |
core/modules/user/src/Plugin/LanguageNegotiation/LanguageNegotiationUser.php |
Class for identifying language from the user preferences. |
LanguageNegotiationUser.php |
file |
core/modules/user/src/Plugin/LanguageNegotiation/LanguageNegotiationUser.php |
|
LanguageNegotiationUser::getLangcode |
function |
core/modules/user/src/Plugin/LanguageNegotiation/LanguageNegotiationUser.php |
Performs language negotiation. |
LanguageNegotiationUser::METHOD_ID |
constant |
core/modules/user/src/Plugin/LanguageNegotiation/LanguageNegotiationUser.php |
The language negotiation method id. |
LanguageNegotiationUserAdmin |
class |
core/modules/user/src/Plugin/LanguageNegotiation/LanguageNegotiationUserAdmin.php |
Identifies admin language from the user preferences. |
LanguageNegotiationUserAdmin.php |
file |
core/modules/user/src/Plugin/LanguageNegotiation/LanguageNegotiationUserAdmin.php |
|
LanguageNegotiationUserAdmin::$adminContext |
property |
core/modules/user/src/Plugin/LanguageNegotiation/LanguageNegotiationUserAdmin.php |
The admin context. |
LanguageNegotiationUserAdmin::$pathProcessorManager |
property |
core/modules/user/src/Plugin/LanguageNegotiation/LanguageNegotiationUserAdmin.php |
The path processor manager. |
LanguageNegotiationUserAdmin::$router |
property |
core/modules/user/src/Plugin/LanguageNegotiation/LanguageNegotiationUserAdmin.php |
The router. |
LanguageNegotiationUserAdmin::$stackedRouteMatch |
property |
core/modules/user/src/Plugin/LanguageNegotiation/LanguageNegotiationUserAdmin.php |
The stacked route match. |
LanguageNegotiationUserAdmin::create |
function |
core/modules/user/src/Plugin/LanguageNegotiation/LanguageNegotiationUserAdmin.php |
Creates an instance of the plugin. |
LanguageNegotiationUserAdmin::getLangcode |
function |
core/modules/user/src/Plugin/LanguageNegotiation/LanguageNegotiationUserAdmin.php |
Performs language negotiation. |
LanguageNegotiationUserAdmin::isAdminPath |
function |
core/modules/user/src/Plugin/LanguageNegotiation/LanguageNegotiationUserAdmin.php |
Checks whether the given path is an administrative one. |
LanguageNegotiationUserAdmin::METHOD_ID |
constant |
core/modules/user/src/Plugin/LanguageNegotiation/LanguageNegotiationUserAdmin.php |
The language negotiation method id. |
LanguageNegotiationUserAdmin::__construct |
function |
core/modules/user/src/Plugin/LanguageNegotiation/LanguageNegotiationUserAdmin.php |
Constructs a new LanguageNegotiationUserAdmin instance. |
LanguageNegotiator::$currentUser |
property |
core/modules/language/src/LanguageNegotiator.php |
The current active user. |
LanguageNegotiator::setCurrentUser |
function |
core/modules/language/src/LanguageNegotiator.php |
Sets the current active user and resets all language types. |