Search for test
Exact matches
Title | Object type | File name | Summary |
---|---|---|---|
Test | class | core/ |
Provides test media source. |
Test | class | core/ |
Defines a test controller for page titles. |
All search results
Title | Object type | File name | Summary |
---|---|---|---|
ContextHandlerTest::testGetMatchingContexts | function | core/ |
@covers ::getMatchingContexts[[api-linebreak]] |
ContextPluginTest | class | core/ |
Tests that contexts are properly set and working within plugins. |
ContextPluginTest.php | file | core/ |
|
ContextPluginTest::$modules | property | core/ |
Modules to install. |
ContextPluginTest::testContext | function | core/ |
Tests basic context definition and value getters and setters. |
ContextTest | class | core/ |
Tests Drupal\Component\Plugin\Context\Context. |
ContextTest | class | core/ |
@coversDefaultClass \Drupal\Core\Plugin\Context\Context[[api-linebreak]] @group Plugin |
ContextTest.php | file | core/ |
|
ContextTest.php | file | core/ |
|
ContextTest::$contextDefinition | property | core/ |
The mocked context definition object. |
ContextTest::$typedData | property | core/ |
The mocked Typed Data object. |
ContextTest::$typedDataManager | property | core/ |
The mocked Typed Data manager. |
ContextTest::providerGetContextValue | function | core/ |
Data provider for testGetContextValue. |
ContextTest::providerHasContextValue | function | core/ |
Data provider for testHasContextValue. |
ContextTest::setUp | function | core/ |
|
ContextTest::setUpDefaultValue | function | core/ |
Set up mocks for the getDefaultValue() method call. |
ContextTest::testDefaultDataValue | function | core/ |
@covers ::getContextData[[api-linebreak]] |
ContextTest::testDefaultValue | function | core/ |
@covers ::getContextValue[[api-linebreak]] |
ContextTest::testDefaultValue | function | core/ |
@legacy-covers ::getContextValue |
ContextTest::testGetContextValue | function | core/ |
@legacy-covers ::getContextValue |
ContextTest::testHasContextValue | function | core/ |
@legacy-covers ::hasContextValue |
ContextTest::testNullDataValue | function | core/ |
@covers ::getContextData[[api-linebreak]] |
ContextTest::testSetContextValueCacheableDependency | function | core/ |
@covers ::setContextValue[[api-linebreak]] |
ContextTest::testSetContextValueTypedData | function | core/ |
@covers ::setContextValue[[api-linebreak]] |
ContextTypedDataTest | class | core/ |
Tests that contexts work properly with the typed data manager. |
ContextTypedDataTest.php | file | core/ |
|
ContextTypedDataTest::providerHasContextValue | function | core/ |
Data provider for testHasContextValue. |
ContextTypedDataTest::testGetContextValue | function | core/ |
Tests that getting a context value does not throw fatal errors. |
ContextTypedDataTest::testHasContextValue | function | core/ |
@covers ::hasContextValue[[api-linebreak]] @dataProvider providerHasContextValue |
ContextTypedDataTest::testSerialize | function | core/ |
Tests that contexts can be serialized. |
ContextualDynamicContextTest | class | core/ |
Tests contextual link display on the front page based on permissions. |
ContextualDynamicContextTest.php | file | core/ |
|
ContextualDynamicContextTest::$anonymousUser | property | core/ |
A simulated anonymous user with access only to node content. |
ContextualDynamicContextTest::$authenticatedUser | property | core/ |
An authenticated user with permission to access contextual links. |
ContextualDynamicContextTest::$defaultTheme | property | core/ |
The theme to install as the default for testing. |
ContextualDynamicContextTest::$editorUser | property | core/ |
A user with permission to access contextual links and edit content. |
ContextualDynamicContextTest::$modules | property | core/ |
Modules to install. |
ContextualDynamicContextTest::assertContextualLinkPlaceHolder | function | core/ |
Asserts that a contextual link placeholder with the given id exists. |
ContextualDynamicContextTest::assertNoContextualLinkPlaceHolder | function | core/ |
Asserts that a contextual link placeholder with a given id does not exist. |
ContextualDynamicContextTest::createContextualIdToken | function | core/ |
Creates a contextual ID token. |
ContextualDynamicContextTest::renderContextualLinks | function | core/ |
Get server-rendered contextual links for the given contextual link ids. |
ContextualDynamicContextTest::setUp | function | core/ |
|
ContextualDynamicContextTest::testDifferentPermissions | function | core/ |
Tests contextual links with different permissions. |
ContextualDynamicContextTest::testTokenProtection | function | core/ |
Tests the contextual placeholder content is protected by a token. |
ContextualFiltersBlockContextTest | class | core/ |
A test for contextual filters exposed as block context. |
ContextualFiltersBlockContextTest.php | file | core/ |
|
ContextualFiltersBlockContextTest::$defaultTheme | property | core/ |
The theme to install as the default for testing. |
ContextualFiltersBlockContextTest::$modules | property | core/ |
Modules to install. |
ContextualFiltersBlockContextTest::$nodes | property | core/ |
Test nodes. |
ContextualFiltersBlockContextTest::$nodeType | property | core/ |
Test node type. |
Pagination
- Previous page
- Page 151
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.