| BlockFormTest::$storage |
property |
core/modules/block/tests/src/Unit/BlockFormTest.php |
The block storage. |
| BlockFormTest::$themeHandler |
property |
core/modules/block/tests/src/Unit/BlockFormTest.php |
The theme handler. |
| BlockFormTest::$themeManager |
property |
core/modules/block/tests/src/Unit/BlockFormTest.php |
The theme manager service. |
| BlockFormTest::getBlockMockWithMachineName |
function |
core/modules/block/tests/src/Unit/BlockFormTest.php |
Mocks a block with a block plugin. |
| BlockFormTest::setUp |
function |
core/modules/block/tests/src/Unit/BlockFormTest.php |
|
| BlockFormTest::testGetUniqueMachineName |
function |
core/modules/block/tests/src/Unit/BlockFormTest.php |
Tests the unique machine name generator. |
| BlockHasOverridesAccessCheck |
class |
core/modules/settings_tray/src/Access/BlockHasOverridesAccessCheck.php |
Determines whether the requested block has a 'settings_tray' form. |
| BlockHasOverridesAccessCheck.php |
file |
core/modules/settings_tray/src/Access/BlockHasOverridesAccessCheck.php |
|
| BlockHasOverridesAccessCheck::access |
function |
core/modules/settings_tray/src/Access/BlockHasOverridesAccessCheck.php |
Checks access for accessing a block's 'settings_tray' form. |
| BlockHiddenRegionTest |
class |
core/modules/block/tests/src/Functional/BlockHiddenRegionTest.php |
Tests that blocks are not added to hidden regions on theme installation. |
| BlockHiddenRegionTest.php |
file |
core/modules/block/tests/src/Functional/BlockHiddenRegionTest.php |
|
| BlockHiddenRegionTest::$adminUser |
property |
core/modules/block/tests/src/Functional/BlockHiddenRegionTest.php |
An administrative user to configure the test environment. |
| BlockHiddenRegionTest::$defaultTheme |
property |
core/modules/block/tests/src/Functional/BlockHiddenRegionTest.php |
The theme to install as the default for testing. |
| BlockHiddenRegionTest::$modules |
property |
core/modules/block/tests/src/Functional/BlockHiddenRegionTest.php |
Modules to install. |
| BlockHiddenRegionTest::setUp |
function |
core/modules/block/tests/src/Functional/BlockHiddenRegionTest.php |
|
| BlockHiddenRegionTest::testBlockNotInHiddenRegion |
function |
core/modules/block/tests/src/Functional/BlockHiddenRegionTest.php |
Tests that hidden regions do not inherit blocks when a theme is installed. |
| BlockHookOperationTest |
class |
core/modules/block/tests/src/Functional/BlockHookOperationTest.php |
Tests for Block module regarding hook_entity_operations_alter(). |
| BlockHookOperationTest.php |
file |
core/modules/block/tests/src/Functional/BlockHookOperationTest.php |
|
| BlockHookOperationTest::$defaultTheme |
property |
core/modules/block/tests/src/Functional/BlockHookOperationTest.php |
The theme to install as the default for testing. |
| BlockHookOperationTest::$modules |
property |
core/modules/block/tests/src/Functional/BlockHookOperationTest.php |
Modules to install. |
| BlockHookOperationTest::setUp |
function |
core/modules/block/tests/src/Functional/BlockHookOperationTest.php |
|
| BlockHookOperationTest::testBlockOperationAlter |
function |
core/modules/block/tests/src/Functional/BlockHookOperationTest.php |
Tests the block list to see if the test_operation link is added. |
| BlockHtmlTest |
class |
core/modules/block/tests/src/Functional/BlockHtmlTest.php |
Tests block HTML ID validity. |
| BlockHtmlTest.php |
file |
core/modules/block/tests/src/Functional/BlockHtmlTest.php |
|
| BlockHtmlTest::$defaultTheme |
property |
core/modules/block/tests/src/Functional/BlockHtmlTest.php |
The theme to install as the default for testing. |
| BlockHtmlTest::$modules |
property |
core/modules/block/tests/src/Functional/BlockHtmlTest.php |
Modules to install. |
| BlockHtmlTest::setUp |
function |
core/modules/block/tests/src/Functional/BlockHtmlTest.php |
|
| BlockHtmlTest::testHtml |
function |
core/modules/block/tests/src/Functional/BlockHtmlTest.php |
Tests for valid HTML for a block. |
| BlockInstallTest |
class |
core/modules/block/tests/src/Functional/BlockInstallTest.php |
Tests block module's installation. |
| BlockInstallTest.php |
file |
core/modules/block/tests/src/Functional/BlockInstallTest.php |
|
| BlockInstallTest::$defaultTheme |
property |
core/modules/block/tests/src/Functional/BlockInstallTest.php |
The theme to install as the default for testing. |
| BlockInstallTest::testCacheTagInvalidationUponInstallation |
function |
core/modules/block/tests/src/Functional/BlockInstallTest.php |
|
| BlockInterface |
interface |
core/modules/block/src/BlockInterface.php |
Provides an interface defining a block entity. |
| BlockInterface.php |
file |
core/modules/block/src/BlockInterface.php |
|
| BlockInterface::createDuplicateBlock |
function |
core/modules/block/src/BlockInterface.php |
Creates a duplicate of the block entity. |
| BlockInterface::getPlugin |
function |
core/modules/block/src/BlockInterface.php |
Returns the plugin instance. |
| BlockInterface::getPluginId |
function |
core/modules/block/src/BlockInterface.php |
Returns the plugin ID. |
| BlockInterface::getRegion |
function |
core/modules/block/src/BlockInterface.php |
Returns the region this block is placed in. |
| BlockInterface::getTheme |
function |
core/modules/block/src/BlockInterface.php |
Returns the theme ID. |
| BlockInterface::getVisibility |
function |
core/modules/block/src/BlockInterface.php |
Returns an array of visibility condition configurations. |
| BlockInterface::getVisibilityCondition |
function |
core/modules/block/src/BlockInterface.php |
Gets a visibility condition plugin instance. |
| BlockInterface::getVisibilityConditions |
function |
core/modules/block/src/BlockInterface.php |
Gets conditions for this block. |
| BlockInterface::getWeight |
function |
core/modules/block/src/BlockInterface.php |
Returns the weight of this block (used for sorting). |
| BlockInterface::setRegion |
function |
core/modules/block/src/BlockInterface.php |
Sets the region this block is placed in. |
| BlockInterface::setVisibilityConfig |
function |
core/modules/block/src/BlockInterface.php |
Sets the visibility condition configuration. |
| BlockInterface::setWeight |
function |
core/modules/block/src/BlockInterface.php |
Sets the block weight. |
| BlockInterfaceTest |
class |
core/modules/block/tests/src/Kernel/BlockInterfaceTest.php |
Tests that the block plugin can work properly without a supporting entity. |
| BlockInterfaceTest.php |
file |
core/modules/block/tests/src/Kernel/BlockInterfaceTest.php |
|
| BlockInterfaceTest::$modules |
property |
core/modules/block/tests/src/Kernel/BlockInterfaceTest.php |
Modules to install. |
| BlockInterfaceTest::testBlockInterface |
function |
core/modules/block/tests/src/Kernel/BlockInterfaceTest.php |
Tests configuration and subsequent form() and build() method calls. |