BlockUiTest::testBlockDemoUiPage |
function |
core/modules/block/tests/src/Functional/BlockUiTest.php |
Tests block demo page exists and functions correctly. |
BlockUiTest::testBlockPlacementIndicator |
function |
core/modules/block/tests/src/Functional/BlockUiTest.php |
Tests the block placement indicator. |
BlockUiTest::testBlockValidateErrors |
function |
core/modules/block/tests/src/Functional/BlockUiTest.php |
Tests if validation errors are passed plugin form to the parent form. |
BlockUiTest::testBrokenBlockVisibility |
function |
core/modules/block/tests/src/Functional/BlockUiTest.php |
Tests that users without permission are not able to view broken blocks. |
BlockUiTest::testCandidateBlockList |
function |
core/modules/block/tests/src/Functional/BlockUiTest.php |
Tests the block categories on the listing page. |
BlockUiTest::testContextAwareBlocks |
function |
core/modules/block/tests/src/Functional/BlockUiTest.php |
Tests the behavior of context-aware blocks. |
BlockUiTest::testContextAwareUnsatisfiedBlocks |
function |
core/modules/block/tests/src/Functional/BlockUiTest.php |
Tests the behavior of unsatisfied context-aware blocks. |
BlockUiTest::testMachineNameSuggestion |
function |
core/modules/block/tests/src/Functional/BlockUiTest.php |
Tests that the BlockForm populates machine name correctly. |
BlockUiTest::testRouteProtection |
function |
core/modules/block/tests/src/Functional/BlockUiTest.php |
Tests that the enable/disable routes are protected from CSRF. |
BlockUser |
class |
core/modules/user/src/Plugin/Action/BlockUser.php |
Blocks a user. |
BlockUser.php |
file |
core/modules/user/src/Plugin/Action/BlockUser.php |
|
BlockUser::access |
function |
core/modules/user/src/Plugin/Action/BlockUser.php |
Checks object access. |
BlockUser::execute |
function |
core/modules/user/src/Plugin/Action/BlockUser.php |
Executes the plugin. |
BlockValidationTest |
class |
core/modules/block/tests/src/Kernel/BlockValidationTest.php |
Tests validation of block entities. |
BlockValidationTest.php |
file |
core/modules/block/tests/src/Kernel/BlockValidationTest.php |
|
BlockValidationTest::$modules |
property |
core/modules/block/tests/src/Kernel/BlockValidationTest.php |
Modules to install. |
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 |
@group legacy |
BlockValidationTest::testWeightValidation |
function |
core/modules/block/tests/src/Kernel/BlockValidationTest.php |
Tests validating weight. |
BlockViewBuilder |
class |
core/modules/block/src/BlockViewBuilder.php |
Provides a Block view builder. |
BlockViewBuilder.php |
file |
core/modules/block/src/BlockViewBuilder.php |
|
BlockViewBuilder::buildComponents |
function |
core/modules/block/src/BlockViewBuilder.php |
Builds the component fields and properties of a set of entities. |
BlockViewBuilder::buildPreRenderableBlock |
function |
core/modules/block/src/BlockViewBuilder.php |
Builds a #pre_render-able block render array. |
BlockViewBuilder::lazyBuilder |
function |
core/modules/block/src/BlockViewBuilder.php |
Render API callback: Builds a block that can be pre-rendered. |
BlockViewBuilder::preRender |
function |
core/modules/block/src/BlockViewBuilder.php |
Render API callback: Builds a block. |
BlockViewBuilder::trustedCallbacks |
function |
core/modules/block/src/BlockViewBuilder.php |
Lists the trusted callbacks provided by the implementing class. |
BlockViewBuilder::view |
function |
core/modules/block/src/BlockViewBuilder.php |
Builds the render array for the provided entity. |
BlockViewBuilder::viewMultiple |
function |
core/modules/block/src/BlockViewBuilder.php |
Builds the render array for the provided entities. |
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. |