Search for all
| Title | Object type | File name | Summary |
|---|---|---|---|
| BlockTest::$blockDisplay | property | core/ |
The tested block display plugin. |
| BlockTest::$blockPlugin | property | core/ |
The views block plugin. |
| BlockTest::$defaultTheme | property | core/ |
The theme to install as the default for testing. |
| BlockTest::$defaultTheme | property | core/ |
The theme to install as the default for testing. |
| BlockTest::$entity | property | core/ |
|
| BlockTest::$entityTypeId | property | core/ |
The tested entity type. |
| BlockTest::$executable | property | core/ |
The view executable. |
| BlockTest::$modules | property | core/ |
Modules to install. |
| BlockTest::$modules | property | core/ |
Modules to install. |
| BlockTest::$resourceTypeName | property | core/ |
The name of the tested JSON:API resource type. |
| BlockTest::createEntity | function | core/ |
Creates the entity to be tested. |
| BlockTest::getExpectedCacheContexts | function | core/ |
The expected cache contexts for the GET/HEAD response of the test entity. |
| BlockTest::getExpectedCacheTags | function | core/ |
The expected cache tags for the GET/HEAD response of the test entity. |
| BlockTest::getExpectedCollectionCacheability | function | core/ |
Computes the cacheability for a given entity collection. |
| BlockTest::getExpectedDocument | function | core/ |
Returns the expected JSON:API document for the entity. |
| BlockTest::getExpectedUnauthorizedAccessCacheability | function | core/ |
Returns the expected cacheability for an unauthorized response. |
| BlockTest::getExpectedUnauthorizedAccessMessage | function | core/ |
Return the expected error message. |
| BlockTest::getPostDocument | function | core/ |
Returns the JSON:API POST document. |
| BlockTest::moveBlockToRegion | function | core/ |
Moves a block to a given region via the UI and confirms the result. |
| BlockTest::providerSource | function | core/ |
Provides source data for ::testSource. |
| BlockTest::setUp | function | core/ |
|
| BlockTest::setUpAuthorization | function | core/ |
Sets up the necessary authorization. |
| BlockTest::testAddBlockFromLibraryWithWeight | function | core/ |
Tests adding a block from the library page with a weight query string. |
| BlockTest::testBlock | function | core/ |
Tests configuring and moving a module-define block to specific regions. |
| BlockTest::testBlockAccess | function | core/ |
Tests the block access. |
| BlockTest::testBlockCacheTags | function | core/ |
Tests that cache tags are properly set and bubbled up to the page cache. |
| BlockTest::testBlockThemeSelector | function | core/ |
Tests that the block form has a theme selector when not passed via the URL. |
| BlockTest::testBlockTitle | function | core/ |
Tests block title. |
| BlockTest::testBlockToggleVisibility | function | core/ |
Tests that visibility can be properly toggled. |
| BlockTest::testBlockUserRoleDelete | function | core/ |
Tests block_user_role_delete. |
| BlockTest::testBlockVisibility | function | core/ |
Tests block visibility. |
| BlockTest::testBlockVisibilityListedEmpty | function | core/ |
Tests block visibility when leaving "pages" textarea empty. |
| BlockTest::testBuildNoOverride | function | core/ |
Tests the build method with no overriding. |
| BlockTest::testBuildOverride | function | core/ |
Tests the build method with overriding items per page. |
| BlockTest::testHideBlockTitle | function | core/ |
Tests block title display settings. |
| BlockTest::testThemeAdminLink | function | core/ |
Tests that a link exists to block layout from the appearance form. |
| BlockTest::testThemeName | function | core/ |
Tests block display of theme titles. |
| BlockTest::testUninstallTheme | function | core/ |
Tests that uninstalling a theme removes its block configuration. |
| BlockTestBase | class | core/ |
Provides setup and helper methods for block module tests. |
| BlockTestBase.php | file | core/ |
|
| BlockTestBase::$adminUser | property | core/ |
A test user with administrative privileges. |
| BlockTestBase::$modules | property | core/ |
Modules to install. |
| BlockTestBase::$regions | property | core/ |
A list of theme regions to test. |
| BlockTestBase::setUp | function | core/ |
|
| BlockTestHooks | class | core/ |
Hook implementations for block_test. |
| BlockTestHooks.php | file | core/ |
|
| BlockTestHooks::blockAlter | function | core/ |
Implements hook_block_alter(). |
| BlockTestHooks::blockBuildTestCacheAlter | function | core/ |
Implements hook_block_build_BASE_BLOCK_ID_alter(). |
| BlockTestHooks::blockViewPageTitleBlockAlter | function | core/ |
Implements hook_block_view_BASE_BLOCK_ID_alter(). |
| BlockTestHooks::blockViewTestCacheAlter | function | core/ |
Implements hook_block_view_BASE_BLOCK_ID_alter(). |
Pagination
- Previous page
- Page 118
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.