BlockBaseTest::testGetMachineNameSuggestion |
function |
core/tests/Drupal/Tests/Core/Block/BlockBaseTest.php |
Tests the machine name suggestion. |
BlockCacheTest |
class |
core/modules/block/tests/src/Functional/BlockCacheTest.php |
Tests block caching. |
BlockCacheTest.php |
file |
core/modules/block/tests/src/Functional/BlockCacheTest.php |
|
BlockCacheTest::$adminUser |
property |
core/modules/block/tests/src/Functional/BlockCacheTest.php |
A user with permission to administer blocks. |
BlockCacheTest::$block |
property |
core/modules/block/tests/src/Functional/BlockCacheTest.php |
The block used by this test. |
BlockCacheTest::$defaultTheme |
property |
core/modules/block/tests/src/Functional/BlockCacheTest.php |
The theme to install as the default for testing. |
BlockCacheTest::$modules |
property |
core/modules/block/tests/src/Functional/BlockCacheTest.php |
Modules to install. |
BlockCacheTest::$normalUser |
property |
core/modules/block/tests/src/Functional/BlockCacheTest.php |
An authenticated user to test block caching. |
BlockCacheTest::$normalUserAlt |
property |
core/modules/block/tests/src/Functional/BlockCacheTest.php |
Another authenticated user to test block caching. |
BlockCacheTest::setUp |
function |
core/modules/block/tests/src/Functional/BlockCacheTest.php |
|
BlockCacheTest::testCachePermissions |
function |
core/modules/block/tests/src/Functional/BlockCacheTest.php |
Tests a cacheable block without any additional cache context. |
BlockCacheTest::testCachePerPage |
function |
core/modules/block/tests/src/Functional/BlockCacheTest.php |
Tests "url" cache context. |
BlockCacheTest::testCachePerRole |
function |
core/modules/block/tests/src/Functional/BlockCacheTest.php |
Tests "user.roles" cache context. |
BlockCacheTest::testCachePerUser |
function |
core/modules/block/tests/src/Functional/BlockCacheTest.php |
Tests "user" cache context. |
BlockCacheTest::testNoCache |
function |
core/modules/block/tests/src/Functional/BlockCacheTest.php |
Tests non-cacheable block. |
BlockComponentRenderArrayTest |
class |
core/modules/layout_builder/tests/src/Unit/BlockComponentRenderArrayTest.php |
Tests Drupal\layout_builder\EventSubscriber\BlockComponentRenderArray. |
BlockComponentRenderArrayTest.php |
file |
core/modules/layout_builder/tests/src/Unit/BlockComponentRenderArrayTest.php |
|
BlockComponentRenderArrayTest::$account |
property |
core/modules/layout_builder/tests/src/Unit/BlockComponentRenderArrayTest.php |
The current user. |
BlockComponentRenderArrayTest::$blockManager |
property |
core/modules/layout_builder/tests/src/Unit/BlockComponentRenderArrayTest.php |
The block plugin manager. |
BlockComponentRenderArrayTest::providerBlockTypes |
function |
core/modules/layout_builder/tests/src/Unit/BlockComponentRenderArrayTest.php |
Data provider for test functions that should test block types. |
BlockComponentRenderArrayTest::setUp |
function |
core/modules/layout_builder/tests/src/Unit/BlockComponentRenderArrayTest.php |
|
BlockComponentRenderArrayTest::testOnBuildRender |
function |
core/modules/layout_builder/tests/src/Unit/BlockComponentRenderArrayTest.php |
Tests on build render. |
BlockComponentRenderArrayTest::testOnBuildRenderDenied |
function |
core/modules/layout_builder/tests/src/Unit/BlockComponentRenderArrayTest.php |
Tests on build render denied. |
BlockComponentRenderArrayTest::testOnBuildRenderEmptyBuild |
function |
core/modules/layout_builder/tests/src/Unit/BlockComponentRenderArrayTest.php |
Tests on build render empty build. |
BlockComponentRenderArrayTest::testOnBuildRenderEmptyBuildWithCacheTags |
function |
core/modules/layout_builder/tests/src/Unit/BlockComponentRenderArrayTest.php |
Tests on build render empty build with cache tags. |
BlockComponentRenderArrayTest::testOnBuildRenderInPreview |
function |
core/modules/layout_builder/tests/src/Unit/BlockComponentRenderArrayTest.php |
Tests on build render in preview. |
BlockComponentRenderArrayTest::testOnBuildRenderInPreviewEmptyBuild |
function |
core/modules/layout_builder/tests/src/Unit/BlockComponentRenderArrayTest.php |
Tests on build render in preview empty build. |
BlockComponentRenderArrayTest::testOnBuildRenderNoBlock |
function |
core/modules/layout_builder/tests/src/Unit/BlockComponentRenderArrayTest.php |
Tests on build render no block. |
BlockComponentRenderArrayTest::testOnBuildRenderNullBuild |
function |
core/modules/layout_builder/tests/src/Unit/BlockComponentRenderArrayTest.php |
Tests on build render null build. |
BlockComponentRenderArrayTest::testOnBuildRenderWithoutPreviewFallbackString |
function |
core/modules/layout_builder/tests/src/Unit/BlockComponentRenderArrayTest.php |
Tests on build render without preview fallback string. |
BlockConfigEntityUnitTest |
class |
core/modules/block/tests/src/Unit/BlockConfigEntityUnitTest.php |
Tests Drupal\block\Entity\Block. |
BlockConfigEntityUnitTest.php |
file |
core/modules/block/tests/src/Unit/BlockConfigEntityUnitTest.php |
|
BlockConfigEntityUnitTest::$entityType |
property |
core/modules/block/tests/src/Unit/BlockConfigEntityUnitTest.php |
The entity type used for testing. |
BlockConfigEntityUnitTest::$entityTypeId |
property |
core/modules/block/tests/src/Unit/BlockConfigEntityUnitTest.php |
The ID of the type of the entity under test. |
BlockConfigEntityUnitTest::$entityTypeManager |
property |
core/modules/block/tests/src/Unit/BlockConfigEntityUnitTest.php |
The entity type manager used for testing. |
BlockConfigEntityUnitTest::$moduleHandler |
property |
core/modules/block/tests/src/Unit/BlockConfigEntityUnitTest.php |
The module handler. |
BlockConfigEntityUnitTest::$themeHandler |
property |
core/modules/block/tests/src/Unit/BlockConfigEntityUnitTest.php |
The theme handler. |
BlockConfigEntityUnitTest::$uuid |
property |
core/modules/block/tests/src/Unit/BlockConfigEntityUnitTest.php |
The UUID generator used for testing. |
BlockConfigEntityUnitTest::setUp |
function |
core/modules/block/tests/src/Unit/BlockConfigEntityUnitTest.php |
|
BlockConfigEntityUnitTest::testCalculateDependencies |
function |
core/modules/block/tests/src/Unit/BlockConfigEntityUnitTest.php |
Tests calculate dependencies. |
BlockConfigSchemaTest |
class |
core/modules/block/tests/src/Kernel/BlockConfigSchemaTest.php |
Tests the block config schema. |
BlockConfigSchemaTest.php |
file |
core/modules/block/tests/src/Kernel/BlockConfigSchemaTest.php |
|
BlockConfigSchemaTest::$blockManager |
property |
core/modules/block/tests/src/Kernel/BlockConfigSchemaTest.php |
The block manager. |
BlockConfigSchemaTest::$modules |
property |
core/modules/block/tests/src/Kernel/BlockConfigSchemaTest.php |
Modules to install. |
BlockConfigSchemaTest::$typedConfig |
property |
core/modules/block/tests/src/Kernel/BlockConfigSchemaTest.php |
The typed config manager. |
BlockConfigSchemaTest::setUp |
function |
core/modules/block/tests/src/Kernel/BlockConfigSchemaTest.php |
|
BlockConfigSchemaTest::testBlockConfigSchema |
function |
core/modules/block/tests/src/Kernel/BlockConfigSchemaTest.php |
Tests the block config schema for block plugins. |
BlockConfigSyncTest |
class |
core/modules/block/tests/src/Kernel/BlockConfigSyncTest.php |
Tests that blocks are not created during config sync. |
BlockConfigSyncTest.php |
file |
core/modules/block/tests/src/Kernel/BlockConfigSyncTest.php |
|
BlockConfigSyncTest::$modules |
property |
core/modules/block/tests/src/Kernel/BlockConfigSyncTest.php |
Modules to install. |