Search for block

  1. Search 7.x for block
  2. Search 9.5.x for block
  3. Search 10.3.x for block
  4. Search 11.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 block source from database.
Block class core/lib/Drupal/Core/Block/Annotation/Block.php Defines a Block annotation object.

All search results

Title Object type File name Summary
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.
BlockPageSettingTest class core/modules/search/tests/src/Functional/Update/BlockPageSettingTest.php Tests search blocks upgrade to default page setting.
BlockPageSettingTest.php file core/modules/search/tests/src/Functional/Update/BlockPageSettingTest.php
BlockPageSettingTest::setDatabaseDumpFiles function core/modules/search/tests/src/Functional/Update/BlockPageSettingTest.php Set database dump files to be used.
BlockPageSettingTest::testUpdateActionPlugins function core/modules/search/tests/src/Functional/Update/BlockPageSettingTest.php Tests existing search block settings upgrade.
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
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.
BlockPageVariantTest::$blockViewBuilder property core/modules/block/tests/src/Unit/Plugin/DisplayVariant/BlockPageVariantTest.php The block view builder.
BlockPageVariantTest::$contextHandler property core/modules/block/tests/src/Unit/Plugin/DisplayVariant/BlockPageVariantTest.php The plugin context handler.
BlockPageVariantTest::providerBuild function core/modules/block/tests/src/Unit/Plugin/DisplayVariant/BlockPageVariantTest.php
BlockPageVariantTest::setUpDisplayVariant function core/modules/block/tests/src/Unit/Plugin/DisplayVariant/BlockPageVariantTest.php Sets up a display variant plugin for testing.
BlockPageVariantTest::testBuild function core/modules/block/tests/src/Unit/Plugin/DisplayVariant/BlockPageVariantTest.php Tests the building of a full page variant.
BlockPageVariantTest::testBuildWithoutMainContent function core/modules/block/tests/src/Unit/Plugin/DisplayVariant/BlockPageVariantTest.php Tests the building of a full page variant with no main content set.
BlockPlaceEventSubscriber class core/modules/block_place/src/EventSubscriber/BlockPlaceEventSubscriber.php
BlockPlaceEventSubscriber.php file core/modules/block_place/src/EventSubscriber/BlockPlaceEventSubscriber.php
BlockPlaceEventSubscriber::$account property core/modules/block_place/src/EventSubscriber/BlockPlaceEventSubscriber.php The current user.
BlockPlaceEventSubscriber::$requestStack property core/modules/block_place/src/EventSubscriber/BlockPlaceEventSubscriber.php The request stack.
BlockPlaceEventSubscriber::getSubscribedEvents function core/modules/block_place/src/EventSubscriber/BlockPlaceEventSubscriber.php
BlockPlaceEventSubscriber::onBlockPageDisplayVariantSelected function core/modules/block_place/src/EventSubscriber/BlockPlaceEventSubscriber.php Selects the block place override of the block page display variant.
BlockPlaceEventSubscriber::__construct function core/modules/block_place/src/EventSubscriber/BlockPlaceEventSubscriber.php Constructs a \Drupal\block_place\EventSubscriber\BlockPlaceEventSubscriber object.
BlockPlaceTest class core/modules/block_place/tests/src/Functional/BlockPlaceTest.php Tests the placing a block.
BlockPlaceTest.php file core/modules/block_place/tests/src/Functional/BlockPlaceTest.php

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