| BlockHooks::preprocessBlock |
function |
core/modules/block/src/Hook/BlockHooks.php |
Prepares variables for block templates. |
| BlockHooks::rebuild |
function |
core/modules/block/src/Hook/BlockHooks.php |
Implements hook_rebuild(). |
| BlockHooks::theme |
function |
core/modules/block/src/Hook/BlockHooks.php |
Implements hook_theme(). |
| BlockHooks::themeInitialize |
function |
core/modules/block/src/Hook/BlockHooks.php |
Assigns an initial, default set of blocks for a theme. |
| BlockHooks::themesInstalled |
function |
core/modules/block/src/Hook/BlockHooks.php |
Implements hook_themes_installed(). |
| BlockHooks::userRoleDelete |
function |
core/modules/block/src/Hook/BlockHooks.php |
Implements hook_ENTITY_TYPE_delete() for user_role entities. |
| 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 |
|
| BlockHtmlTest::$modules |
property |
core/modules/block/tests/src/Functional/BlockHtmlTest.php |
|
| 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 |
|
| BlockInstallTest::testCacheTagInvalidationUponInstallation |
function |
core/modules/block/tests/src/Functional/BlockInstallTest.php |
Tests cache tag invalidation after installing the block module. |
| 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 |
|
| BlockInterfaceTest::testBlockInterface |
function |
core/modules/block/tests/src/Kernel/BlockInterfaceTest.php |
Tests configuration and subsequent form() and build() method calls. |
| BlockInvalidRegionTest |
class |
core/modules/block/tests/src/Functional/BlockInvalidRegionTest.php |
Tests that blocks assigned to invalid regions are disabled with a warning. |
| BlockInvalidRegionTest.php |
file |
core/modules/block/tests/src/Functional/BlockInvalidRegionTest.php |
|
| BlockInvalidRegionTest::$configSchemaCheckerExclusions |
property |
core/modules/block/tests/src/Functional/BlockInvalidRegionTest.php |
|
| BlockInvalidRegionTest::$defaultTheme |
property |
core/modules/block/tests/src/Functional/BlockInvalidRegionTest.php |
|
| BlockInvalidRegionTest::$modules |
property |
core/modules/block/tests/src/Functional/BlockInvalidRegionTest.php |
|
| BlockInvalidRegionTest::setUp |
function |
core/modules/block/tests/src/Functional/BlockInvalidRegionTest.php |
|
| BlockInvalidRegionTest::testBlockInInvalidRegion |
function |
core/modules/block/tests/src/Functional/BlockInvalidRegionTest.php |
Tests that blocks assigned to invalid regions work correctly. |
| BlockItemsPerPageUpdateTest |
class |
core/modules/views/tests/src/Functional/Update/BlockItemsPerPageUpdateTest.php |
Tests Block Items Per Page Update. |
| BlockItemsPerPageUpdateTest.php |
file |
core/modules/views/tests/src/Functional/Update/BlockItemsPerPageUpdateTest.php |
|
| BlockItemsPerPageUpdateTest::setDatabaseDumpFiles |
function |
core/modules/views/tests/src/Functional/Update/BlockItemsPerPageUpdateTest.php |
|
| BlockItemsPerPageUpdateTest::testUpdateItemsPerPage |
function |
core/modules/views/tests/src/Functional/Update/BlockItemsPerPageUpdateTest.php |
Tests changing an `items_per_page` setting of `none` to NULL. |
| BlockJsonAnonTest |
class |
core/modules/block/tests/src/Functional/Rest/BlockJsonAnonTest.php |
Tests Block Json Anon. |
| BlockJsonAnonTest.php |
file |
core/modules/block/tests/src/Functional/Rest/BlockJsonAnonTest.php |
|
| BlockJsonAnonTest::$defaultTheme |
property |
core/modules/block/tests/src/Functional/Rest/BlockJsonAnonTest.php |
|
| BlockJsonAnonTest::$format |
property |
core/modules/block/tests/src/Functional/Rest/BlockJsonAnonTest.php |
|
| BlockJsonAnonTest::$mimeType |
property |
core/modules/block/tests/src/Functional/Rest/BlockJsonAnonTest.php |
|