| BlockTest::getExpectedCacheContexts |
function |
core/modules/jsonapi/tests/src/Functional/BlockTest.php |
The expected cache contexts for the GET/HEAD response of the test entity. |
| BlockTest::getExpectedCacheTags |
function |
core/modules/jsonapi/tests/src/Functional/BlockTest.php |
The expected cache tags for the GET/HEAD response of the test entity. |
| BlockTest::getExpectedCollectionCacheability |
function |
core/modules/jsonapi/tests/src/Functional/BlockTest.php |
Computes the cacheability for a given entity collection. |
| BlockTest::getExpectedDocument |
function |
core/modules/jsonapi/tests/src/Functional/BlockTest.php |
Returns the expected JSON:API document for the entity. |
| BlockTest::getExpectedUnauthorizedAccessCacheability |
function |
core/modules/jsonapi/tests/src/Functional/BlockTest.php |
Returns the expected cacheability for an unauthorized response. |
| BlockTest::getExpectedUnauthorizedAccessMessage |
function |
core/modules/jsonapi/tests/src/Functional/BlockTest.php |
Return the expected error message. |
| BlockTest::getPostDocument |
function |
core/modules/jsonapi/tests/src/Functional/BlockTest.php |
Returns the JSON:API POST document. |
| BlockTest::moveBlockToRegion |
function |
core/modules/block/tests/src/Functional/BlockTest.php |
Moves a block to a given region via the UI and confirms the result. |
| BlockTest::providerSource |
function |
core/modules/block/tests/src/Kernel/Plugin/migrate/source/BlockTest.php |
Provides source data for ::testSource. |
| BlockTest::setUp |
function |
core/modules/views/tests/src/Unit/Plugin/views/display/BlockTest.php |
|
| BlockTest::setUpAuthorization |
function |
core/modules/jsonapi/tests/src/Functional/BlockTest.php |
Sets up the necessary authorization. |
| BlockTest::testAddBlockFromLibraryWithWeight |
function |
core/modules/block/tests/src/Functional/BlockTest.php |
Tests adding a block from the library page with a weight query string. |
| BlockTest::testBlock |
function |
core/modules/block/tests/src/Functional/BlockTest.php |
Tests configuring and moving a module-define block to specific regions. |
| BlockTest::testBlockAccess |
function |
core/modules/block/tests/src/Functional/BlockTest.php |
Tests the block access. |
| BlockTest::testBlockCacheTags |
function |
core/modules/block/tests/src/Functional/BlockTest.php |
Tests that cache tags are properly set and bubbled up to the page cache. |
| BlockTest::testBlockThemeSelector |
function |
core/modules/block/tests/src/Functional/BlockTest.php |
Tests that the block form has a theme selector when not passed via the URL. |
| BlockTest::testBlockTitle |
function |
core/modules/block/tests/src/Functional/BlockTest.php |
Tests block title. |
| BlockTest::testBlockToggleVisibility |
function |
core/modules/block/tests/src/Functional/BlockTest.php |
Tests that visibility can be properly toggled. |
| BlockTest::testBlockUserRoleDelete |
function |
core/modules/block/tests/src/Functional/BlockTest.php |
Tests block_user_role_delete. |
| BlockTest::testBlockVisibility |
function |
core/modules/block/tests/src/Functional/BlockTest.php |
Tests block visibility. |
| BlockTest::testBlockVisibilityListedEmpty |
function |
core/modules/block/tests/src/Functional/BlockTest.php |
Tests block visibility when leaving "pages" textarea empty. |
| BlockTest::testBuildNoOverride |
function |
core/modules/views/tests/src/Unit/Plugin/views/display/BlockTest.php |
Tests the build method with no overriding. |
| BlockTest::testBuildOverride |
function |
core/modules/views/tests/src/Unit/Plugin/views/display/BlockTest.php |
Tests the build method with overriding items per page. |
| BlockTest::testHideBlockTitle |
function |
core/modules/block/tests/src/Functional/BlockTest.php |
Tests block title display settings. |
| BlockTest::testThemeAdminLink |
function |
core/modules/block/tests/src/Functional/BlockTest.php |
Tests that a link exists to block layout from the appearance form. |
| BlockTest::testThemeName |
function |
core/modules/block/tests/src/Functional/BlockTest.php |
Tests block display of theme titles. |
| BlockTest::testUninstallTheme |
function |
core/modules/block/tests/src/Functional/BlockTest.php |
Tests that uninstalling a theme removes its block configuration. |
| BlockTestBase |
class |
core/modules/block/tests/src/Functional/BlockTestBase.php |
Provides setup and helper methods for block module tests. |
| BlockTestBase.php |
file |
core/modules/block/tests/src/Functional/BlockTestBase.php |
|
| BlockTestBase::$adminUser |
property |
core/modules/block/tests/src/Functional/BlockTestBase.php |
A test user with administrative privileges. |
| BlockTestBase::$modules |
property |
core/modules/block/tests/src/Functional/BlockTestBase.php |
Modules to install. |
| BlockTestBase::$regions |
property |
core/modules/block/tests/src/Functional/BlockTestBase.php |
A list of theme regions to test. |
| BlockTestBase::setUp |
function |
core/modules/block/tests/src/Functional/BlockTestBase.php |
|
| BlockTestHooks |
class |
core/modules/block/tests/modules/block_test/src/Hook/BlockTestHooks.php |
Hook implementations for block_test. |
| BlockTestHooks.php |
file |
core/modules/block/tests/modules/block_test/src/Hook/BlockTestHooks.php |
|
| BlockTestHooks::blockAlter |
function |
core/modules/block/tests/modules/block_test/src/Hook/BlockTestHooks.php |
Implements hook_block_alter(). |
| BlockTestHooks::blockBuildTestCacheAlter |
function |
core/modules/block/tests/modules/block_test/src/Hook/BlockTestHooks.php |
Implements hook_block_build_BASE_BLOCK_ID_alter(). |
| BlockTestHooks::blockViewPageTitleBlockAlter |
function |
core/modules/block/tests/modules/block_test/src/Hook/BlockTestHooks.php |
Implements hook_block_view_BASE_BLOCK_ID_alter(). |
| BlockTestHooks::blockViewTestCacheAlter |
function |
core/modules/block/tests/modules/block_test/src/Hook/BlockTestHooks.php |
Implements hook_block_view_BASE_BLOCK_ID_alter(). |
| BlockTranslationTest |
class |
core/modules/block/tests/src/Kernel/Plugin/migrate/source/d6/BlockTranslationTest.php |
Tests i18n block source plugin. |
| BlockTranslationTest |
class |
core/modules/block/tests/src/Kernel/Plugin/migrate/source/d7/BlockTranslationTest.php |
Tests i18n block source plugin. |
| BlockTranslationTest.php |
file |
core/modules/block/tests/src/Kernel/Plugin/migrate/source/d6/BlockTranslationTest.php |
|
| BlockTranslationTest.php |
file |
core/modules/block/tests/src/Kernel/Plugin/migrate/source/d7/BlockTranslationTest.php |
|
| BlockTranslationTest::$modules |
property |
core/modules/block/tests/src/Kernel/Plugin/migrate/source/d6/BlockTranslationTest.php |
Modules to install. |
| BlockTranslationTest::$modules |
property |
core/modules/block/tests/src/Kernel/Plugin/migrate/source/d7/BlockTranslationTest.php |
Modules to install. |
| BlockTranslationTest::providerSource |
function |
core/modules/block/tests/src/Kernel/Plugin/migrate/source/d6/BlockTranslationTest.php |
Provides source data for ::testSource. |
| BlockTranslationTest::providerSource |
function |
core/modules/block/tests/src/Kernel/Plugin/migrate/source/d7/BlockTranslationTest.php |
Provides source data for ::testSource. |
| BlockUiTest |
class |
core/modules/block/tests/src/Functional/BlockUiTest.php |
Tests that the block configuration UI exists and stores data correctly. |
| BlockUiTest.php |
file |
core/modules/block/tests/src/Functional/BlockUiTest.php |
|
| BlockUiTest::$adminUser |
property |
core/modules/block/tests/src/Functional/BlockUiTest.php |
An administrative user to configure the test environment. |