| ContextHandlerTest::testGetMatchingContexts |
function |
core/tests/Drupal/Tests/Core/Plugin/ContextHandlerTest.php |
Tests get matching contexts. |
| ContextPluginTest |
class |
core/tests/Drupal/KernelTests/Core/Plugin/ContextPluginTest.php |
Tests that contexts are properly set and working within plugins. |
| ContextPluginTest.php |
file |
core/tests/Drupal/KernelTests/Core/Plugin/ContextPluginTest.php |
|
| ContextPluginTest::$modules |
property |
core/tests/Drupal/KernelTests/Core/Plugin/ContextPluginTest.php |
Modules to install. |
| ContextPluginTest::testContext |
function |
core/tests/Drupal/KernelTests/Core/Plugin/ContextPluginTest.php |
Tests basic context definition and value getters and setters. |
| ContextTest |
class |
core/tests/Drupal/Tests/Core/Plugin/Context/ContextTest.php |
Tests Drupal\Core\Plugin\Context\Context. |
| ContextTest |
class |
core/tests/Drupal/Tests/Component/Plugin/Context/ContextTest.php |
Tests Drupal\Component\Plugin\Context\Context. |
| ContextTest.php |
file |
core/tests/Drupal/Tests/Component/Plugin/Context/ContextTest.php |
|
| ContextTest.php |
file |
core/tests/Drupal/Tests/Core/Plugin/Context/ContextTest.php |
|
| ContextTest::$contextDefinition |
property |
core/tests/Drupal/Tests/Core/Plugin/Context/ContextTest.php |
The mocked context definition object. |
| ContextTest::$typedData |
property |
core/tests/Drupal/Tests/Core/Plugin/Context/ContextTest.php |
The mocked Typed Data object. |
| ContextTest::$typedDataManager |
property |
core/tests/Drupal/Tests/Core/Plugin/Context/ContextTest.php |
The mocked Typed Data manager. |
| ContextTest::providerGetContextValue |
function |
core/tests/Drupal/Tests/Component/Plugin/Context/ContextTest.php |
Data provider for testGetContextValue. |
| ContextTest::providerHasContextValue |
function |
core/tests/Drupal/Tests/Component/Plugin/Context/ContextTest.php |
Data provider for testHasContextValue. |
| ContextTest::setUp |
function |
core/tests/Drupal/Tests/Core/Plugin/Context/ContextTest.php |
|
| ContextTest::setUpDefaultValue |
function |
core/tests/Drupal/Tests/Core/Plugin/Context/ContextTest.php |
Set up mocks for the getDefaultValue() method call. |
| ContextTest::testDefaultDataValue |
function |
core/tests/Drupal/Tests/Core/Plugin/Context/ContextTest.php |
Tests default data value. |
| ContextTest::testDefaultValue |
function |
core/tests/Drupal/Tests/Core/Plugin/Context/ContextTest.php |
Tests default value. |
| ContextTest::testDefaultValue |
function |
core/tests/Drupal/Tests/Component/Plugin/Context/ContextTest.php |
@legacy-covers ::getContextValue |
| ContextTest::testGetContextValue |
function |
core/tests/Drupal/Tests/Component/Plugin/Context/ContextTest.php |
Tests get context value. |
| ContextTest::testHasContextValue |
function |
core/tests/Drupal/Tests/Component/Plugin/Context/ContextTest.php |
Tests has context value. |
| ContextTest::testNullDataValue |
function |
core/tests/Drupal/Tests/Core/Plugin/Context/ContextTest.php |
Tests null data value. |
| ContextTest::testSetContextValueCacheableDependency |
function |
core/tests/Drupal/Tests/Core/Plugin/Context/ContextTest.php |
Tests set context value cacheable dependency. |
| ContextTest::testSetContextValueTypedData |
function |
core/tests/Drupal/Tests/Core/Plugin/Context/ContextTest.php |
Tests set context value typed data. |
| ContextTypedDataTest |
class |
core/tests/Drupal/KernelTests/Core/Plugin/ContextTypedDataTest.php |
Tests that contexts work properly with the typed data manager. |
| ContextTypedDataTest.php |
file |
core/tests/Drupal/KernelTests/Core/Plugin/ContextTypedDataTest.php |
|
| ContextTypedDataTest::providerHasContextValue |
function |
core/tests/Drupal/KernelTests/Core/Plugin/ContextTypedDataTest.php |
Data provider for testHasContextValue. |
| ContextTypedDataTest::testGetContextValue |
function |
core/tests/Drupal/KernelTests/Core/Plugin/ContextTypedDataTest.php |
Tests that getting a context value does not throw fatal errors. |
| ContextTypedDataTest::testHasContextValue |
function |
core/tests/Drupal/KernelTests/Core/Plugin/ContextTypedDataTest.php |
Tests has context value. |
| ContextTypedDataTest::testSerialize |
function |
core/tests/Drupal/KernelTests/Core/Plugin/ContextTypedDataTest.php |
Tests that contexts can be serialized. |
| ContextualDynamicContextTest |
class |
core/modules/contextual/tests/src/Functional/ContextualDynamicContextTest.php |
Tests contextual link display on the front page based on permissions. |
| ContextualDynamicContextTest.php |
file |
core/modules/contextual/tests/src/Functional/ContextualDynamicContextTest.php |
|
| ContextualDynamicContextTest::$anonymousUser |
property |
core/modules/contextual/tests/src/Functional/ContextualDynamicContextTest.php |
A simulated anonymous user with access only to node content. |
| ContextualDynamicContextTest::$authenticatedUser |
property |
core/modules/contextual/tests/src/Functional/ContextualDynamicContextTest.php |
An authenticated user with permission to access contextual links. |
| ContextualDynamicContextTest::$defaultTheme |
property |
core/modules/contextual/tests/src/Functional/ContextualDynamicContextTest.php |
The theme to install as the default for testing. |
| ContextualDynamicContextTest::$editorUser |
property |
core/modules/contextual/tests/src/Functional/ContextualDynamicContextTest.php |
A user with permission to access contextual links and edit content. |
| ContextualDynamicContextTest::$modules |
property |
core/modules/contextual/tests/src/Functional/ContextualDynamicContextTest.php |
Modules to install. |
| ContextualDynamicContextTest::assertContextualLinkPlaceHolder |
function |
core/modules/contextual/tests/src/Functional/ContextualDynamicContextTest.php |
Asserts that a contextual link placeholder with the given id exists. |
| ContextualDynamicContextTest::assertNoContextualLinkPlaceHolder |
function |
core/modules/contextual/tests/src/Functional/ContextualDynamicContextTest.php |
Asserts that a contextual link placeholder with a given id does not exist. |
| ContextualDynamicContextTest::createContextualIdToken |
function |
core/modules/contextual/tests/src/Functional/ContextualDynamicContextTest.php |
Creates a contextual ID token. |
| ContextualDynamicContextTest::renderContextualLinks |
function |
core/modules/contextual/tests/src/Functional/ContextualDynamicContextTest.php |
Get server-rendered contextual links for the given contextual link ids. |
| ContextualDynamicContextTest::setUp |
function |
core/modules/contextual/tests/src/Functional/ContextualDynamicContextTest.php |
|
| ContextualDynamicContextTest::testDifferentPermissions |
function |
core/modules/contextual/tests/src/Functional/ContextualDynamicContextTest.php |
Tests contextual links with different permissions. |
| ContextualDynamicContextTest::testTokenProtection |
function |
core/modules/contextual/tests/src/Functional/ContextualDynamicContextTest.php |
Tests the contextual placeholder content is protected by a token. |
| ContextualFiltersBlockContextTest |
class |
core/modules/views/tests/src/Functional/Plugin/ContextualFiltersBlockContextTest.php |
A test for contextual filters exposed as block context. |
| ContextualFiltersBlockContextTest.php |
file |
core/modules/views/tests/src/Functional/Plugin/ContextualFiltersBlockContextTest.php |
|
| ContextualFiltersBlockContextTest::$defaultTheme |
property |
core/modules/views/tests/src/Functional/Plugin/ContextualFiltersBlockContextTest.php |
The theme to install as the default for testing. |
| ContextualFiltersBlockContextTest::$modules |
property |
core/modules/views/tests/src/Functional/Plugin/ContextualFiltersBlockContextTest.php |
Modules to install. |
| ContextualFiltersBlockContextTest::$nodes |
property |
core/modules/views/tests/src/Functional/Plugin/ContextualFiltersBlockContextTest.php |
Test nodes. |
| ContextualFiltersBlockContextTest::$nodeType |
property |
core/modules/views/tests/src/Functional/Plugin/ContextualFiltersBlockContextTest.php |
Test node type. |