Search for block

  1. Search 7.x for block
  2. Search 8.9.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 6/7 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
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
BlockNodeTypeVisibilityUpdateTest class core/modules/block/tests/src/Functional/Update/BlockNodeTypeVisibilityUpdateTest.php Tests the upgrade path for updating the node type visibility condition.
BlockNodeTypeVisibilityUpdateTest.php file core/modules/block/tests/src/Functional/Update/BlockNodeTypeVisibilityUpdateTest.php
BlockNodeTypeVisibilityUpdateTest::setDatabaseDumpFiles function core/modules/block/tests/src/Functional/Update/BlockNodeTypeVisibilityUpdateTest.php Set database dump files to be used.
BlockNodeTypeVisibilityUpdateTest::testBlock function core/modules/block/tests/src/Functional/Update/BlockNodeTypeVisibilityUpdateTest.php Tests that block context mapping is updated properly.
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
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.
BlockPluginCollection class core/modules/block/src/BlockPluginCollection.php Provides a collection of block plugins.
BlockPluginCollection.php file core/modules/block/src/BlockPluginCollection.php
BlockPluginCollection::$blockId property core/modules/block/src/BlockPluginCollection.php The block ID this plugin collection belongs to.
BlockPluginCollection::get function core/modules/block/src/BlockPluginCollection.php
BlockPluginCollection::initializePlugin function core/modules/block/src/BlockPluginCollection.php Initializes and stores a plugin.
BlockPluginCollection::__construct function core/modules/block/src/BlockPluginCollection.php Constructs a new BlockPluginCollection.
BlockPluginHasSettingsTrayFormAccessCheck class core/modules/settings_tray/src/Access/BlockPluginHasSettingsTrayFormAccessCheck.php Determines whether the requested block has a 'settings_tray' form.
BlockPluginHasSettingsTrayFormAccessCheck.php file core/modules/settings_tray/src/Access/BlockPluginHasSettingsTrayFormAccessCheck.php
BlockPluginHasSettingsTrayFormAccessCheck::access function core/modules/settings_tray/src/Access/BlockPluginHasSettingsTrayFormAccessCheck.php Checks access for accessing a block's 'settings_tray' form.
BlockPluginHasSettingsTrayFormAccessCheck::accessBlockPlugin function core/modules/settings_tray/src/Access/BlockPluginHasSettingsTrayFormAccessCheck.php Checks access for accessing a block plugin's 'settings_tray' form.

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