Search for block

  1. Search 7.x for block
  2. Search 9.5.x for block
  3. Search 8.9.x for block
  4. Search 10.3.x for block
  5. Other projects

Exact matches

These are exact matches according to your search
Title Object type File name Summary
Block class core/modules/views/src/Plugin/views/display/Block.php The plugin that handles a block.
Block class core/modules/block/src/Entity/Block.php Defines a Block configuration entity class.
Block class core/modules/block/src/Plugin/migrate/source/Block.php Drupal 6/7 block source from database.
Block class core/lib/Drupal/Core/Block/Attribute/Block.php The Block attribute.
Block class core/lib/Drupal/Core/Block/Annotation/Block.php Defines a Block annotation object.

All search results

Title Object type File name Summary
BlockListBuilder::validateForm function core/modules/block/src/BlockListBuilder.php Form validation handler.
BlockListBuilder::__construct function core/modules/block/src/BlockListBuilder.php Constructs a new BlockListBuilder object.
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
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 @coversDefaultClass \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 @covers ::getDefinitions
BlockManagerTest::testGroupedDefinitions function core/tests/Drupal/Tests/Core/Block/BlockManagerTest.php @covers ::getGroupedDefinitions
BlockManagerTest::testHandlePluginNotFound function core/tests/Drupal/Tests/Core/Block/BlockManagerTest.php @covers ::handlePluginNotFound
BlockManagerTest::testSortedDefinitions function core/tests/Drupal/Tests/Core/Block/BlockManagerTest.php @covers ::getSortedDefinitions
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 Creates an instance of the plugin.
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 @coversDefaultClass \Drupal\block\Plugin\DisplayVariant\BlockPageVariant
@group block

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.