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
SystemMainBlock class core/modules/system/src/Plugin/Block/SystemMainBlock.php Provides a 'Main page content' block.
SystemMainBlock.php file core/modules/system/src/Plugin/Block/SystemMainBlock.php
SystemMainBlock::$mainContent property core/modules/system/src/Plugin/Block/SystemMainBlock.php The render array representing the main page content.
SystemMainBlock::build function core/modules/system/src/Plugin/Block/SystemMainBlock.php Builds and returns the renderable array for this block plugin.
SystemMainBlock::setMainContent function core/modules/system/src/Plugin/Block/SystemMainBlock.php Sets the main content render array.
SystemManager::getAdminBlock function core/modules/system/src/SystemManager.php Provide a single block on the administration overview page.
SystemManager::getBlockContents function core/modules/system/src/SystemManager.php Loads the contents of a menu block.
SystemMenuBlock class core/modules/system/src/Plugin/Derivative/SystemMenuBlock.php Provides block plugin definitions for custom menus.
SystemMenuBlock class core/modules/system/src/Plugin/Block/SystemMenuBlock.php Provides a generic Menu block.
SystemMenuBlock.php file core/modules/system/src/Plugin/Derivative/SystemMenuBlock.php
SystemMenuBlock.php file core/modules/system/src/Plugin/Block/SystemMenuBlock.php
SystemMenuBlock::$menuActiveTrail property core/modules/system/src/Plugin/Block/SystemMenuBlock.php The active menu trail service.
SystemMenuBlock::$menuStorage property core/modules/system/src/Plugin/Derivative/SystemMenuBlock.php The menu storage.
SystemMenuBlock::$menuTree property core/modules/system/src/Plugin/Block/SystemMenuBlock.php The menu link tree service.
SystemMenuBlock::blockForm function core/modules/system/src/Plugin/Block/SystemMenuBlock.php
SystemMenuBlock::blockSubmit function core/modules/system/src/Plugin/Block/SystemMenuBlock.php
SystemMenuBlock::build function core/modules/system/src/Plugin/Block/SystemMenuBlock.php Builds and returns the renderable array for this block plugin.
SystemMenuBlock::create function core/modules/system/src/Plugin/Derivative/SystemMenuBlock.php Creates a new class instance.
SystemMenuBlock::create function core/modules/system/src/Plugin/Block/SystemMenuBlock.php Creates an instance of the plugin.
SystemMenuBlock::defaultConfiguration function core/modules/system/src/Plugin/Block/SystemMenuBlock.php
SystemMenuBlock::getCacheContexts function core/modules/system/src/Plugin/Block/SystemMenuBlock.php
SystemMenuBlock::getCacheTags function core/modules/system/src/Plugin/Block/SystemMenuBlock.php
SystemMenuBlock::getDerivativeDefinitions function core/modules/system/src/Plugin/Derivative/SystemMenuBlock.php Gets the definition of all derivatives of a base plugin.
SystemMenuBlock::processMenuLevelParents function core/modules/system/src/Plugin/Block/SystemMenuBlock.php Form API callback: Processes the menu_levels field element.
SystemMenuBlock::__construct function core/modules/system/src/Plugin/Derivative/SystemMenuBlock.php Constructs new SystemMenuBlock.
SystemMenuBlock::__construct function core/modules/system/src/Plugin/Block/SystemMenuBlock.php Constructs a new SystemMenuBlock.
SystemMenuBlockTest class core/modules/system/tests/src/Kernel/Block/SystemMenuBlockTest.php Tests \Drupal\system\Plugin\Block\SystemMenuBlock.
SystemMenuBlockTest.php file core/modules/system/tests/src/Kernel/Block/SystemMenuBlockTest.php
SystemMenuBlockTest::$block property core/modules/system/tests/src/Kernel/Block/SystemMenuBlockTest.php The block under test.
SystemMenuBlockTest::$blockManager property core/modules/system/tests/src/Kernel/Block/SystemMenuBlockTest.php The block manager service.
SystemMenuBlockTest::$linkTree property core/modules/system/tests/src/Kernel/Block/SystemMenuBlockTest.php The menu link tree service.
SystemMenuBlockTest::$menu property core/modules/system/tests/src/Kernel/Block/SystemMenuBlockTest.php The menu for testing.
SystemMenuBlockTest::$menuLinkManager property core/modules/system/tests/src/Kernel/Block/SystemMenuBlockTest.php The menu link plugin manager service.
SystemMenuBlockTest::$modules property core/modules/system/tests/src/Kernel/Block/SystemMenuBlockTest.php Modules to enable.
SystemMenuBlockTest::configExpandedTestCases function core/modules/system/tests/src/Kernel/Block/SystemMenuBlockTest.php
SystemMenuBlockTest::convertBuiltMenuToIdTree function core/modules/system/tests/src/Kernel/Block/SystemMenuBlockTest.php Helper method to allow for easy menu link tree structure assertions.
SystemMenuBlockTest::setUp function core/modules/system/tests/src/Kernel/Block/SystemMenuBlockTest.php
SystemMenuBlockTest::testConfigExpanded function core/modules/system/tests/src/Kernel/Block/SystemMenuBlockTest.php Tests the config expanded option.
SystemMenuBlockTest::testConfigLevelDepth function core/modules/system/tests/src/Kernel/Block/SystemMenuBlockTest.php Tests the config start level and depth.
SystemMenuBlockTest::testSystemMenuBlockConfigDependencies function core/modules/system/tests/src/Kernel/Block/SystemMenuBlockTest.php Tests calculation of a system menu block's configuration dependencies.
SystemMessagesBlock class core/modules/system/src/Plugin/Block/SystemMessagesBlock.php Provides a block to display the messages.
SystemMessagesBlock.php file core/modules/system/src/Plugin/Block/SystemMessagesBlock.php
SystemMessagesBlock::build function core/modules/system/src/Plugin/Block/SystemMessagesBlock.php Builds and returns the renderable array for this block plugin.
SystemMessagesBlock::defaultConfiguration function core/modules/system/src/Plugin/Block/SystemMessagesBlock.php Gets default configuration for this plugin.
SystemMessagesBlock::getCacheMaxAge function core/modules/system/src/Plugin/Block/SystemMessagesBlock.php The maximum age for which this object may be cached.
SystemPoweredByBlock class core/modules/system/src/Plugin/Block/SystemPoweredByBlock.php Provides a 'Powered by Drupal' block.
SystemPoweredByBlock.php file core/modules/system/src/Plugin/Block/SystemPoweredByBlock.php
SystemPoweredByBlock::build function core/modules/system/src/Plugin/Block/SystemPoweredByBlock.php Builds and returns the renderable array for this block plugin.
SystemPoweredByBlock::defaultConfiguration function core/modules/system/src/Plugin/Block/SystemPoweredByBlock.php
system_block_view_system_main_block_alter function core/modules/system/system.module Implements hook_block_view_BASE_BLOCK_ID_alter().

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