Search for on

  1. Search 7.x for on
  2. Search 9.5.x for on
  3. Search 8.9.x for on
  4. Search 10.3.x for on
  5. Other projects
Title Object type File name Summary
BlockLibraryController class core/modules/block/src/Controller/BlockLibraryController.php Provides a list of block plugins to be added to the layout.
BlockLibraryController.php file core/modules/block/src/Controller/BlockLibraryController.php
BlockLibraryController::$blockManager property core/modules/block/src/Controller/BlockLibraryController.php The block manager.
BlockLibraryController::$contextRepository property core/modules/block/src/Controller/BlockLibraryController.php The context repository.
BlockLibraryController::$localActionManager property core/modules/block/src/Controller/BlockLibraryController.php The local action manager.
BlockLibraryController::$routeMatch property core/modules/block/src/Controller/BlockLibraryController.php The route match.
BlockLibraryController::buildLocalActions function core/modules/block/src/Controller/BlockLibraryController.php Builds the local actions for this listing.
BlockLibraryController::listBlocks function core/modules/block/src/Controller/BlockLibraryController.php Shows a list of blocks that can be added to a theme's layout.
BlockLibraryController::__construct function core/modules/block/src/Controller/BlockLibraryController.php Constructs a BlockLibraryController object.
BlockListBuilder::getDefaultOperations function core/modules/block/src/BlockListBuilder.php Gets this list's default operations.
BlockListBuilder::systemRegionList function core/modules/block/src/BlockListBuilder.php Wraps system_region_list().
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.
BlockManager::getSortedDefinitions function core/lib/Drupal/Core/Block/BlockManager.php Gets sorted plugin definitions.
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.
BlockManagerTest::testDefinitions function core/tests/Drupal/Tests/Core/Block/BlockManagerTest.php @covers ::getDefinitions[[api-linebreak]]
BlockManagerTest::testGroupedDefinitions function core/tests/Drupal/Tests/Core/Block/BlockManagerTest.php @covers ::getGroupedDefinitions[[api-linebreak]]
BlockManagerTest::testSortedDefinitions function core/tests/Drupal/Tests/Core/Block/BlockManagerTest.php @covers ::getSortedDefinitions[[api-linebreak]]
BlockPageDisplayVariantSubscriber::onSelectPageDisplayVariant function core/modules/block/src/EventSubscriber/BlockPageDisplayVariantSubscriber.php Selects the block page display variant.
BlockPageVariant::$mainContent property core/modules/block/src/Plugin/DisplayVariant/BlockPageVariant.php The render array representing the main page content.
BlockPageVariant::setMainContent function core/modules/block/src/Plugin/DisplayVariant/BlockPageVariant.php Sets the main content for the page being rendered.
BlockPageVariant::__construct function core/modules/block/src/Plugin/DisplayVariant/BlockPageVariant.php Constructs a new BlockPageVariant.
BlockPageVariantTest::$contextHandler property core/modules/block/tests/src/Unit/Plugin/DisplayVariant/BlockPageVariantTest.php The plugin context handler.
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.
BlockPluginId::$blockContentStorage property core/modules/block/src/Plugin/migrate/process/BlockPluginId.php The block_content entity storage handler.
BlockPluginId::__construct function core/modules/block/src/Plugin/migrate/process/BlockPluginId.php Constructs a BlockPluginId object.
BlockPluginInterface::getMachineNameSuggestion function core/lib/Drupal/Core/Block/BlockPluginInterface.php Suggests a machine name to identify an instance of this block.
BlockPluginInterface::setConfigurationValue function core/lib/Drupal/Core/Block/BlockPluginInterface.php Sets a particular value in the block settings.
BlockPluginTrait::$transliteration property core/lib/Drupal/Core/Block/BlockPluginTrait.php The transliteration service.
BlockPluginTrait::baseConfigurationDefaults function core/lib/Drupal/Core/Block/BlockPluginTrait.php Returns generic default configuration for block plugins.
BlockPluginTrait::buildConfigurationForm function core/lib/Drupal/Core/Block/BlockPluginTrait.php Creates a generic configuration form for all block types. Individual
block plugins can add elements to this form by overriding
BlockBase::blockForm(). Most block plugins should not override this
method unless they need to alter the generic form elements.
BlockPluginTrait::defaultConfiguration function core/lib/Drupal/Core/Block/BlockPluginTrait.php
BlockPluginTrait::getConfiguration function core/lib/Drupal/Core/Block/BlockPluginTrait.php
BlockPluginTrait::getMachineNameSuggestion function core/lib/Drupal/Core/Block/BlockPluginTrait.php
BlockPluginTrait::setConfiguration function core/lib/Drupal/Core/Block/BlockPluginTrait.php
BlockPluginTrait::setConfigurationValue function core/lib/Drupal/Core/Block/BlockPluginTrait.php
BlockPluginTrait::setTransliteration function core/lib/Drupal/Core/Block/BlockPluginTrait.php Sets the transliteration service.
BlockPluginTrait::submitConfigurationForm function core/lib/Drupal/Core/Block/BlockPluginTrait.php Most block plugins should not override this method. To add submission
handling for a specific block type, override BlockBase::blockSubmit().
BlockPluginTrait::transliteration function core/lib/Drupal/Core/Block/BlockPluginTrait.php Wraps the transliteration service.

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