| BlockListController |
class |
core/modules/block/src/Controller/BlockListController.php |
Defines a controller to list blocks. |
| BlockListController.php |
file |
core/modules/block/src/Controller/BlockListController.php |
|
| BlockListController::$themeHandler |
property |
core/modules/block/src/Controller/BlockListController.php |
The theme handler. |
| BlockListController::listing |
function |
core/modules/block/src/Controller/BlockListController.php |
Shows the block administration page. |
| BlockListController::__construct |
function |
core/modules/block/src/Controller/BlockListController.php |
Constructs the BlockListController. |
| BlockLocalTasksTest |
class |
core/modules/block/tests/src/Unit/Menu/BlockLocalTasksTest.php |
Tests block local tasks. |
| BlockLocalTasksTest.php |
file |
core/modules/block/tests/src/Unit/Menu/BlockLocalTasksTest.php |
|
| BlockLocalTasksTest::providerTestBlockAdminDisplay |
function |
core/modules/block/tests/src/Unit/Menu/BlockLocalTasksTest.php |
Provides a list of routes to test. |
| BlockLocalTasksTest::setUp |
function |
core/modules/block/tests/src/Unit/Menu/BlockLocalTasksTest.php |
|
| BlockLocalTasksTest::testBlockAdminDisplay |
function |
core/modules/block/tests/src/Unit/Menu/BlockLocalTasksTest.php |
Tests the block admin display local tasks. |
| BlockLocalTasksTest::testBlockAdminLocalTasks |
function |
core/modules/block/tests/src/Unit/Menu/BlockLocalTasksTest.php |
Tests the admin edit local task. |
| BlockManager |
class |
core/lib/Drupal/Core/Block/BlockManager.php |
Manages discovery and instantiation of block plugins. |
| BlockManager.php |
file |
core/lib/Drupal/Core/Block/BlockManager.php |
|
| BlockManager::$logger |
property |
core/lib/Drupal/Core/Block/BlockManager.php |
The logger. |
| BlockManager::getFallbackPluginId |
function |
core/lib/Drupal/Core/Block/BlockManager.php |
Gets a fallback id for a missing plugin. |
| BlockManager::getSortedDefinitions |
function |
core/lib/Drupal/Core/Block/BlockManager.php |
Gets sorted plugin definitions. |
| BlockManager::getType |
function |
core/lib/Drupal/Core/Block/BlockManager.php |
A string identifying the plugin type. |
| BlockManager::handlePluginNotFound |
function |
core/lib/Drupal/Core/Block/BlockManager.php |
Allows plugin managers to specify custom behavior if a plugin is not found. |
| BlockManager::processDefinition |
function |
core/lib/Drupal/Core/Block/BlockManager.php |
Performs extra processing on plugin definitions. |
| BlockManager::__construct |
function |
core/lib/Drupal/Core/Block/BlockManager.php |
Constructs a new \Drupal\Core\Block\BlockManager object. |
| BlockManagerInterface |
interface |
core/lib/Drupal/Core/Block/BlockManagerInterface.php |
Provides an interface for the discovery and instantiation of block plugins. |
| BlockManagerInterface.php |
file |
core/lib/Drupal/Core/Block/BlockManagerInterface.php |
|
| BlockManagerTest |
class |
core/tests/Drupal/Tests/Core/Block/BlockManagerTest.php |
Tests Drupal\Core\Block\BlockManager. |
| BlockManagerTest.php |
file |
core/tests/Drupal/Tests/Core/Block/BlockManagerTest.php |
|
| BlockManagerTest::$blockManager |
property |
core/tests/Drupal/Tests/Core/Block/BlockManagerTest.php |
The block manager under test. |
| BlockManagerTest::$logger |
property |
core/tests/Drupal/Tests/Core/Block/BlockManagerTest.php |
The logger. |
| BlockManagerTest::setUp |
function |
core/tests/Drupal/Tests/Core/Block/BlockManagerTest.php |
|
| BlockManagerTest::testDefinitions |
function |
core/tests/Drupal/Tests/Core/Block/BlockManagerTest.php |
Tests definitions. |
| BlockManagerTest::testGroupedDefinitions |
function |
core/tests/Drupal/Tests/Core/Block/BlockManagerTest.php |
Tests grouped definitions. |
| BlockManagerTest::testHandlePluginNotFound |
function |
core/tests/Drupal/Tests/Core/Block/BlockManagerTest.php |
Tests handle plugin not found. |
| BlockManagerTest::testSortedDefinitions |
function |
core/tests/Drupal/Tests/Core/Block/BlockManagerTest.php |
Tests sorted definitions. |
| BlockPageDisplayVariantSubscriber |
class |
core/modules/block/src/EventSubscriber/BlockPageDisplayVariantSubscriber.php |
Selects the block page display variant. |
| BlockPageDisplayVariantSubscriber.php |
file |
core/modules/block/src/EventSubscriber/BlockPageDisplayVariantSubscriber.php |
|
| BlockPageDisplayVariantSubscriber::getSubscribedEvents |
function |
core/modules/block/src/EventSubscriber/BlockPageDisplayVariantSubscriber.php |
|
| BlockPageDisplayVariantSubscriber::onSelectPageDisplayVariant |
function |
core/modules/block/src/EventSubscriber/BlockPageDisplayVariantSubscriber.php |
Selects the block page display variant. |
| BlockPageVariant |
class |
core/modules/block/src/Plugin/DisplayVariant/BlockPageVariant.php |
Provides a page display variant that decorates the main content with blocks. |
| BlockPageVariant.php |
file |
core/modules/block/src/Plugin/DisplayVariant/BlockPageVariant.php |
|
| BlockPageVariant::$blockListCacheTags |
property |
core/modules/block/src/Plugin/DisplayVariant/BlockPageVariant.php |
The Block entity type list cache tags. |
| BlockPageVariant::$blockRepository |
property |
core/modules/block/src/Plugin/DisplayVariant/BlockPageVariant.php |
The block repository. |
| BlockPageVariant::$blockViewBuilder |
property |
core/modules/block/src/Plugin/DisplayVariant/BlockPageVariant.php |
The block view builder. |
| BlockPageVariant::$mainContent |
property |
core/modules/block/src/Plugin/DisplayVariant/BlockPageVariant.php |
The render array representing the main page content. |
| BlockPageVariant::$title |
property |
core/modules/block/src/Plugin/DisplayVariant/BlockPageVariant.php |
The page title: a string (plain title) or a render array (formatted title). |
| BlockPageVariant::build |
function |
core/modules/block/src/Plugin/DisplayVariant/BlockPageVariant.php |
Builds and returns the renderable array for the display variant. |
| BlockPageVariant::create |
function |
core/modules/block/src/Plugin/DisplayVariant/BlockPageVariant.php |
Instantiates a new instance of the implementing class using autowiring. |
| BlockPageVariant::setMainContent |
function |
core/modules/block/src/Plugin/DisplayVariant/BlockPageVariant.php |
Sets the main content for the page being rendered. |
| BlockPageVariant::setTitle |
function |
core/modules/block/src/Plugin/DisplayVariant/BlockPageVariant.php |
Sets the title for the page being rendered. |
| BlockPageVariant::__construct |
function |
core/modules/block/src/Plugin/DisplayVariant/BlockPageVariant.php |
Constructs a new BlockPageVariant. |
| BlockPageVariantTest |
class |
core/modules/block/tests/src/Unit/Plugin/DisplayVariant/BlockPageVariantTest.php |
Tests Drupal\block\Plugin\DisplayVariant\BlockPageVariant. |
| BlockPageVariantTest.php |
file |
core/modules/block/tests/src/Unit/Plugin/DisplayVariant/BlockPageVariantTest.php |
|
| BlockPageVariantTest::$blockRepository |
property |
core/modules/block/tests/src/Unit/Plugin/DisplayVariant/BlockPageVariantTest.php |
The block repository. |