ModerationStateTestBase::grantUserPermissionToCreateContentOfType |
function |
core/modules/content_moderation/tests/src/Functional/ModerationStateTestBase.php |
Grants given user permission to create content of given type. |
ModerationStateWidget::$currentUser |
property |
core/modules/content_moderation/src/Plugin/Field/FieldWidget/ModerationStateWidget.php |
Current user service. |
ModulesEnabledTrait::currentUser |
function |
core/modules/system/src/Form/ModulesEnabledTrait.php |
Gets the current user. |
ModulesListForm::$currentUser |
property |
core/modules/system/src/Form/ModulesListForm.php |
The current user. |
ModuleTestBase::$adminUser |
property |
core/modules/system/tests/src/Functional/Module/ModuleTestBase.php |
|
MultipleStaticContext::$userStorage |
property |
core/modules/block/tests/modules/block_test/src/ContextProvider/MultipleStaticContext.php |
The user storage. |
navigation.user_lazy_builder |
service |
core/modules/navigation/navigation.services.yml |
Drupal\navigation\UserLazyBuilder |
NavigationBlockUiTest::$adminUser |
property |
core/modules/navigation/tests/src/FunctionalJavascript/NavigationBlockUiTest.php |
An administrative user to configure the test environment. |
NavigationTopBarTest::$adminUser |
property |
core/modules/navigation/tests/src/Functional/NavigationTopBarTest.php |
An admin user to configure the test environment. |
NavigationUserBlock |
class |
core/modules/navigation/src/Plugin/Block/NavigationUserBlock.php |
Defines a user navigation block. |
NavigationUserBlock.php |
file |
core/modules/navigation/src/Plugin/Block/NavigationUserBlock.php |
|
NavigationUserBlock::build |
function |
core/modules/navigation/src/Plugin/Block/NavigationUserBlock.php |
Builds and returns the renderable array for this block plugin. |
NavigationUserBlockTest |
class |
core/modules/navigation/tests/src/Functional/NavigationUserBlockTest.php |
Tests for \Drupal\navigation\Plugin\NavigationBlock\NavigationUserBlock. |
NavigationUserBlockTest.php |
file |
core/modules/navigation/tests/src/Functional/NavigationUserBlockTest.php |
|
NavigationUserBlockTest::$adminUser |
property |
core/modules/navigation/tests/src/Functional/NavigationUserBlockTest.php |
User with permission to administer navigation blocks and access navigation. |
NavigationUserBlockTest::$defaultTheme |
property |
core/modules/navigation/tests/src/Functional/NavigationUserBlockTest.php |
The theme to install as the default for testing. |
NavigationUserBlockTest::$modules |
property |
core/modules/navigation/tests/src/Functional/NavigationUserBlockTest.php |
Modules to install. |
NavigationUserBlockTest::$normalUser |
property |
core/modules/navigation/tests/src/Functional/NavigationUserBlockTest.php |
An authenticated user to test navigation block caching. |
NavigationUserBlockTest::setUp |
function |
core/modules/navigation/tests/src/Functional/NavigationUserBlockTest.php |
|
NavigationUserBlockTest::testNavigationUserBlock |
function |
core/modules/navigation/tests/src/Functional/NavigationUserBlockTest.php |
Test output of user navigation block with regards to caching and contents. |
Node::defaultDisplayFiltersUser |
function |
core/modules/node/src/Plugin/views/wizard/Node.php |
Retrieves filter information based on user input for the default display. |
NodeAccessBaseTableTest::$nodesByUser |
property |
core/modules/node/tests/src/Functional/NodeAccessBaseTableTest.php |
Nodes by user. |
NodeAccessBaseTableTest::$webUser |
property |
core/modules/node/tests/src/Functional/NodeAccessBaseTableTest.php |
A web user. |
NodeAccessCacheabilityTest::$usesSuperUserAccessPolicy |
property |
core/modules/node/tests/src/Functional/NodeAccessCacheabilityTest.php |
@todo Remove and fix test to not rely on super user. |
NodeAccessFieldTest::$adminUser |
property |
core/modules/node/tests/src/Functional/NodeAccessFieldTest.php |
A user with permission to bypass access content. |
NodeAccessFieldTest::$contentAdminUser |
property |
core/modules/node/tests/src/Functional/NodeAccessFieldTest.php |
A user with permission to manage content types and fields. |
NodeAccessGrantsCacheContextTest::$accessUser |
property |
core/modules/node/tests/src/Functional/NodeAccessGrantsCacheContextTest.php |
User with permission to view content. |
NodeAccessGrantsCacheContextTest::$noAccessUser |
property |
core/modules/node/tests/src/Functional/NodeAccessGrantsCacheContextTest.php |
User without permission to view content. |
NodeAccessGrantsCacheContextTest::$noAccessUser2 |
property |
core/modules/node/tests/src/Functional/NodeAccessGrantsCacheContextTest.php |
User without permission to view content. |
NodeAccessGrantsCacheContextTest::$userMapping |
property |
core/modules/node/tests/src/Functional/NodeAccessGrantsCacheContextTest.php |
|
NodeAccessGrantsCacheContextTest::$usesSuperUserAccessPolicy |
property |
core/modules/node/tests/src/Functional/NodeAccessGrantsCacheContextTest.php |
@todo Remove and fix test to not rely on super user. |
NodeAccessGrantsCacheContextTest::assertUserCacheContext |
function |
core/modules/node/tests/src/Functional/NodeAccessGrantsCacheContextTest.php |
Asserts that for each given user, the expected cache context is returned. |
NodeAccessJoinTest::$accessUser |
property |
core/modules/node/tests/src/Functional/NodeAccessJoinTest.php |
A user with access to private articles. |
NodeAccessJoinTest::$authorUser |
property |
core/modules/node/tests/src/Functional/NodeAccessJoinTest.php |
The user that will create the articles. |
NodeAccessJoinTest::$otherUser |
property |
core/modules/node/tests/src/Functional/NodeAccessJoinTest.php |
Another user that will create articles. |
NodeAccessJoinTest::$regularUser |
property |
core/modules/node/tests/src/Functional/NodeAccessJoinTest.php |
A user with just access content permissions. |
NodeAccessLanguageAwareCombinationTest::$adminUser |
property |
core/modules/node/tests/src/Kernel/NodeAccessLanguageAwareCombinationTest.php |
User 1. |
NodeAccessLanguageAwareCombinationTest::$usesSuperUserAccessPolicy |
property |
core/modules/node/tests/src/Kernel/NodeAccessLanguageAwareCombinationTest.php |
@todo Remove and fix test to not rely on super user. |
NodeAccessLanguageAwareCombinationTest::$webUser |
property |
core/modules/node/tests/src/Kernel/NodeAccessLanguageAwareCombinationTest.php |
A normal authenticated user. |
NodeAccessLanguageAwareTest::$adminUser |
property |
core/modules/node/tests/src/Kernel/NodeAccessLanguageAwareTest.php |
A user with permission to bypass access content. |
NodeAccessLanguageAwareTest::$usesSuperUserAccessPolicy |
property |
core/modules/node/tests/src/Kernel/NodeAccessLanguageAwareTest.php |
@todo Remove and fix test to not rely on super user. |
NodeAccessLanguageAwareTest::$webUser |
property |
core/modules/node/tests/src/Kernel/NodeAccessLanguageAwareTest.php |
A normal authenticated user. |
NodeAccessLanguageTest::$usesSuperUserAccessPolicy |
property |
core/modules/node/tests/src/Kernel/NodeAccessLanguageTest.php |
@todo Remove and fix test to not rely on super user. |
NodeAccessMenuLinkTest::$contentAdminUser |
property |
core/modules/node/tests/src/Functional/NodeAccessMenuLinkTest.php |
A user with permission to manage menu links and create nodes. |
NodeAccessPagerTest::$webUser |
property |
core/modules/node/tests/src/Functional/NodeAccessPagerTest.php |
An user. |
NodeAccessPagerTest::$webUser |
property |
core/modules/forum/tests/src/Functional/NodeAccessPagerTest.php |
A user account to use for the test. |
NodeAccessRebuildNodeGrantsTest::$adminUser |
property |
core/modules/node/tests/src/Functional/NodeAccessRebuildNodeGrantsTest.php |
A user to test the rebuild nodes feature which can't access the nodes. |
NodeAccessRebuildNodeGrantsTest::$webUser |
property |
core/modules/node/tests/src/Functional/NodeAccessRebuildNodeGrantsTest.php |
A user to create nodes that only it has access to. |
NodeAdminTest::$adminUser |
property |
core/modules/node/tests/src/Functional/NodeAdminTest.php |
A user with permission to bypass access content. |
NodeAdminTest::$baseUser1 |
property |
core/modules/node/tests/src/Functional/NodeAdminTest.php |
A user with the 'access content overview' permission. |