| BlockValidationTest::$propertiesWithOptionalValues |
property |
core/modules/block/tests/src/Kernel/BlockValidationTest.php |
The config entity properties whose values are optional (set to NULL). |
| BlockValidationTest::$propertiesWithRequiredKeys |
property |
core/modules/block/tests/src/Kernel/BlockValidationTest.php |
The config entity mapping properties with >=1 required keys. |
| BlockValidationTest::providerInvalidMachineNameCharacters |
function |
core/modules/block/tests/src/Kernel/BlockValidationTest.php |
Block names are atypical in that they allow periods in the machine name. |
| BlockValidationTest::providerMenuBlockLevelAndDepth |
function |
core/modules/block/tests/src/Kernel/BlockValidationTest.php |
Data provider for ::testMenuBlockLevelAndDepth(). |
| BlockValidationTest::setLabel |
function |
core/modules/block/tests/src/Kernel/BlockValidationTest.php |
Sets the label of the given config entity. |
| BlockValidationTest::setUp |
function |
core/modules/block/tests/src/Kernel/BlockValidationTest.php |
|
| BlockValidationTest::testInvalidPluginId |
function |
core/modules/block/tests/src/Kernel/BlockValidationTest.php |
Tests validating a block with an unknown plugin ID. |
| BlockValidationTest::testLabelValidation |
function |
core/modules/block/tests/src/Kernel/BlockValidationTest.php |
Tests validation of config entity's label. |
| BlockValidationTest::testMenuBlockLevelAndDepth |
function |
core/modules/block/tests/src/Kernel/BlockValidationTest.php |
Tests validating menu block `level` and `depth` settings. |
| BlockValidationTest::testRegionValidation |
function |
core/modules/block/tests/src/Kernel/BlockValidationTest.php |
Tests validating a block's region in a theme. |
| BlockValidationTest::testRequiredPropertyValuesMissing |
function |
core/modules/block/tests/src/Kernel/BlockValidationTest.php |
A property that is required must have a value (i.e. not NULL). |
| BlockValidationTest::testThemeValidation |
function |
core/modules/block/tests/src/Kernel/BlockValidationTest.php |
Tests validating a block with a non-existent theme. |
| BlockValidationTest::testWeightCannotBeNull |
function |
core/modules/block/tests/src/Kernel/BlockValidationTest.php |
Tests weight cannot be null. |
| BlockValidationTest::testWeightValidation |
function |
core/modules/block/tests/src/Kernel/BlockValidationTest.php |
Tests validating weight. |
| BlockViewBuilderTest |
class |
core/modules/block/tests/src/Kernel/BlockViewBuilderTest.php |
Tests the block view builder. |
| BlockViewBuilderTest.php |
file |
core/modules/block/tests/src/Kernel/BlockViewBuilderTest.php |
|
| BlockViewBuilderTest::$block |
property |
core/modules/block/tests/src/Kernel/BlockViewBuilderTest.php |
The block being tested. |
| BlockViewBuilderTest::$controller |
property |
core/modules/block/tests/src/Kernel/BlockViewBuilderTest.php |
The block storage. |
| BlockViewBuilderTest::$modules |
property |
core/modules/block/tests/src/Kernel/BlockViewBuilderTest.php |
Modules to install. |
| BlockViewBuilderTest::$renderer |
property |
core/modules/block/tests/src/Kernel/BlockViewBuilderTest.php |
The renderer. |
| BlockViewBuilderTest::assertBlockRenderedWithExpectedCacheability |
function |
core/modules/block/tests/src/Kernel/BlockViewBuilderTest.php |
Asserts that a block is built/rendered/cached with expected cacheability. |
| BlockViewBuilderTest::getBlockRenderArray |
function |
core/modules/block/tests/src/Kernel/BlockViewBuilderTest.php |
Get a fully built render array for a block. |
| BlockViewBuilderTest::setUp |
function |
core/modules/block/tests/src/Kernel/BlockViewBuilderTest.php |
|
| BlockViewBuilderTest::testBasicRendering |
function |
core/modules/block/tests/src/Kernel/BlockViewBuilderTest.php |
Tests the rendering of blocks. |
| BlockViewBuilderTest::testBlockViewBuilderBuildAlter |
function |
core/modules/block/tests/src/Kernel/BlockViewBuilderTest.php |
Tests block build altering. |
| BlockViewBuilderTest::testBlockViewBuilderCache |
function |
core/modules/block/tests/src/Kernel/BlockViewBuilderTest.php |
Tests block render cache handling. |
| BlockViewBuilderTest::testBlockViewBuilderCacheOptional |
function |
core/modules/block/tests/src/Kernel/BlockViewBuilderTest.php |
Tests block render cache handling of cache-optional blocks. |
| BlockViewBuilderTest::testBlockViewBuilderCacheTitleBlock |
function |
core/modules/block/tests/src/Kernel/BlockViewBuilderTest.php |
Tests title block render cache handling. |
| BlockViewBuilderTest::testBlockViewBuilderViewAlter |
function |
core/modules/block/tests/src/Kernel/BlockViewBuilderTest.php |
Tests block view altering. |
| BlockViewBuilderTest::testEmptyRender |
function |
core/modules/block/tests/src/Kernel/BlockViewBuilderTest.php |
Tests rendering a block plugin that returns an empty array. |
| BlockViewBuilderTest::verifyRenderCacheHandling |
function |
core/modules/block/tests/src/Kernel/BlockViewBuilderTest.php |
Verifies render cache handling of the block being tested. |
| BlockVisibilityTest |
class |
core/modules/block/tests/src/Unit/Plugin/migrate/process/BlockVisibilityTest.php |
Tests the block_visibility process plugin. |
| BlockVisibilityTest.php |
file |
core/modules/block/tests/src/Unit/Plugin/migrate/process/BlockVisibilityTest.php |
|
| BlockVisibilityTest::$moduleHandler |
property |
core/modules/block/tests/src/Unit/Plugin/migrate/process/BlockVisibilityTest.php |
The module handler. |
| BlockVisibilityTest::setUp |
function |
core/modules/block/tests/src/Unit/Plugin/migrate/process/BlockVisibilityTest.php |
|
| BlockVisibilityTest::testTransformException |
function |
core/modules/block/tests/src/Unit/Plugin/migrate/process/BlockVisibilityTest.php |
Tests transform exception. |
| BlockVisibilityTest::testTransformMultiplePagesWithFront |
function |
core/modules/block/tests/src/Unit/Plugin/migrate/process/BlockVisibilityTest.php |
Tests transform multiple pages with front. |
| BlockVisibilityTest::testTransformNoData |
function |
core/modules/block/tests/src/Unit/Plugin/migrate/process/BlockVisibilityTest.php |
Tests transform no data. |
| BlockVisibilityTest::testTransformPhpDisabled |
function |
core/modules/block/tests/src/Unit/Plugin/migrate/process/BlockVisibilityTest.php |
Tests transform php disabled. |
| BlockVisibilityTest::testTransformPhpEnabled |
function |
core/modules/block/tests/src/Unit/Plugin/migrate/process/BlockVisibilityTest.php |
Tests transform php enabled. |
| BlockVisibilityTest::testTransformSinglePageWithFront |
function |
core/modules/block/tests/src/Unit/Plugin/migrate/process/BlockVisibilityTest.php |
Tests transform single page with front. |
| BlockWeightUpdateTest |
class |
core/modules/block/tests/src/Functional/BlockWeightUpdateTest.php |
Tests Block Weight Update. |
| BlockWeightUpdateTest.php |
file |
core/modules/block/tests/src/Functional/BlockWeightUpdateTest.php |
|
| BlockWeightUpdateTest::setDatabaseDumpFiles |
function |
core/modules/block/tests/src/Functional/BlockWeightUpdateTest.php |
Set database dump files to be used. |
| BlockWeightUpdateTest::testRunUpdates |
function |
core/modules/block/tests/src/Functional/BlockWeightUpdateTest.php |
Tests update path for blocks' `weight` property. |
| BlockXmlAnonTest |
class |
core/modules/block/tests/src/Functional/Rest/BlockXmlAnonTest.php |
Tests Block Xml Anon. |
| BlockXmlAnonTest.php |
file |
core/modules/block/tests/src/Functional/Rest/BlockXmlAnonTest.php |
|
| BlockXmlAnonTest::$defaultTheme |
property |
core/modules/block/tests/src/Functional/Rest/BlockXmlAnonTest.php |
The theme to install as the default for testing. |
| BlockXmlAnonTest::$format |
property |
core/modules/block/tests/src/Functional/Rest/BlockXmlAnonTest.php |
The format to use in this test. |
| BlockXmlAnonTest::$mimeType |
property |
core/modules/block/tests/src/Functional/Rest/BlockXmlAnonTest.php |
The MIME type that corresponds to $format. |