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. Search 11.x for block
  6. 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
NodeBlockHooks::blockAlter function core/modules/node/src/Hook/NodeBlockHooks.php Implements hook_block_alter().
NodeContextTestBlock class core/modules/node/tests/modules/node_block_test/src/Plugin/Block/NodeContextTestBlock.php Provides a 'Node Context Test' block.
NodeContextTestBlock.php file core/modules/node/tests/modules/node_block_test/src/Plugin/Block/NodeContextTestBlock.php
NodeContextTestBlock::build function core/modules/node/tests/modules/node_block_test/src/Plugin/Block/NodeContextTestBlock.php Builds and returns the renderable array for this block plugin.
NodeSyndicateBlockTest class core/modules/node/tests/src/Functional/NodeSyndicateBlockTest.php Tests if the syndicate block is available.
NodeSyndicateBlockTest.php file core/modules/node/tests/src/Functional/NodeSyndicateBlockTest.php
NodeSyndicateBlockTest::$defaultTheme property core/modules/node/tests/src/Functional/NodeSyndicateBlockTest.php The theme to install as the default for testing.
NodeSyndicateBlockTest::$modules property core/modules/node/tests/src/Functional/NodeSyndicateBlockTest.php Modules to install.
NodeSyndicateBlockTest::setUp function core/modules/node/tests/src/Functional/NodeSyndicateBlockTest.php
NodeSyndicateBlockTest::testSyndicateBlock function core/modules/node/tests/src/Functional/NodeSyndicateBlockTest.php Tests that the "Syndicate" block is shown when enabled.
NodeUserHooks::userCancelBlockUnpublish function core/modules/node/src/Hook/NodeUserHooks.php Implements hook_user_cancel().
node_block_test.info.yml file core/modules/node/tests/modules/node_block_test/node_block_test.info.yml core/modules/node/tests/modules/node_block_test/node_block_test.info.yml
NonDefaultBlockAdminTest class core/modules/block/tests/src/Functional/NonDefaultBlockAdminTest.php Tests the block administration page for a non-default theme.
NonDefaultBlockAdminTest.php file core/modules/block/tests/src/Functional/NonDefaultBlockAdminTest.php
NonDefaultBlockAdminTest::$defaultTheme property core/modules/block/tests/src/Functional/NonDefaultBlockAdminTest.php The theme to install as the default for testing.
NonDefaultBlockAdminTest::$modules property core/modules/block/tests/src/Functional/NonDefaultBlockAdminTest.php Modules to install.
NonDefaultBlockAdminTest::setUp function core/modules/block/tests/src/Functional/NonDefaultBlockAdminTest.php
NonDefaultBlockAdminTest::testNonDefaultBlockAdmin function core/modules/block/tests/src/Functional/NonDefaultBlockAdminTest.php Tests non-default theme admin.
OliveroHooks::preprocessBlock function core/themes/olivero/src/Hook/OliveroHooks.php Implements hook_preprocess_HOOK() for block.
OliveroHooks::themeSuggestionsBlockAlter function core/themes/olivero/src/Hook/OliveroHooks.php Implements hook_theme_suggestions_HOOK_alter() for block().
OliveroTest::testPreprocessBlock function core/tests/Drupal/FunctionalTests/Theme/OliveroTest.php Tests that olivero_preprocess_block is functioning as expected.
OverriddenConfigurationTest::assertOverriddenBlockDisabled function core/modules/settings_tray/tests/src/FunctionalJavascript/OverriddenConfigurationTest.php Asserts that an overridden block has Settings Tray disabled.
OverriddenConfigurationTest::testOverriddenBlock function core/modules/settings_tray/tests/src/FunctionalJavascript/OverriddenConfigurationTest.php Tests that blocks with configuration overrides are disabled.
PageTitleBlock class core/lib/Drupal/Core/Block/Plugin/Block/PageTitleBlock.php Provides a block to display the page title.
PageTitleBlock.php file core/lib/Drupal/Core/Block/Plugin/Block/PageTitleBlock.php
PageTitleBlock::$title property core/lib/Drupal/Core/Block/Plugin/Block/PageTitleBlock.php The page title: a string (plain title) or a render array (formatted title).
PageTitleBlock::build function core/lib/Drupal/Core/Block/Plugin/Block/PageTitleBlock.php Builds and returns the renderable array for this block plugin.
PageTitleBlock::defaultConfiguration function core/lib/Drupal/Core/Block/Plugin/Block/PageTitleBlock.php Gets default configuration for this plugin.
PageTitleBlock::setTitle function core/lib/Drupal/Core/Block/Plugin/Block/PageTitleBlock.php Sets the title.
PlaceBlock class core/modules/block/src/Plugin/ConfigAction/PlaceBlock.php Places a block in either the admin or default theme.
PlaceBlock.php file core/modules/block/src/Plugin/ConfigAction/PlaceBlock.php
PlaceBlock::apply function core/modules/block/src/Plugin/ConfigAction/PlaceBlock.php Applies the config action.
PlaceBlock::create function core/modules/block/src/Plugin/ConfigAction/PlaceBlock.php Creates an instance of the plugin.
PlaceBlock::__construct function core/modules/block/src/Plugin/ConfigAction/PlaceBlock.php
PlaceBlockDeriver class core/modules/block/src/Plugin/ConfigAction/PlaceBlockDeriver.php Defines a deriver for the `placeBlock` config action.
PlaceBlockDeriver.php file core/modules/block/src/Plugin/ConfigAction/PlaceBlockDeriver.php
PlaceBlockDeriver::getDerivativeDefinitions function core/modules/block/src/Plugin/ConfigAction/PlaceBlockDeriver.php Gets the definition of all derivatives of a base plugin.
plugin.manager.block service core/core.services.yml Drupal\Core\Block\BlockManager
PluginTestBase::$mockBlockExpectedDefinitions property core/tests/Drupal/KernelTests/Core/Plugin/PluginTestBase.php The expected plugin definitions for the mock block plugin.
PluginTestBase::$mockBlockManager property core/tests/Drupal/KernelTests/Core/Plugin/PluginTestBase.php The mock plugin manager used by Plugin API derivative unit tests.
powered-by-block.css file core/themes/olivero/css/components/powered-by-block.css Powered by block specific styles.
powered-by-block.pcss.css file core/themes/olivero/css/components/powered-by-block.pcss.css Powered by block specific styles.
PreprocessHooks::adminBlock function core/themes/admin/src/Hook/PreprocessHooks.php Implements hook_preprocess_HOOK() for admin_block.
PreprocessHooks::adminBlockContent function core/themes/admin/src/Hook/PreprocessHooks.php Implements hook_preprocess_HOOK() for admin_block.
PreprocessHooks::block function core/themes/admin/src/Hook/PreprocessHooks.php Implements hook_preprocess_block() for block content.
PreprocessHooks::blockContentAddList function core/themes/admin/src/Hook/PreprocessHooks.php Implements hook_preprocess_HOOK() for block_content_add_list.
PreprocessHooks::preprocessAdminBlock function core/themes/default_admin/src/Hook/PreprocessHooks.php Implements hook_preprocess_HOOK() for admin_block.
PreprocessHooks::preprocessAdminBlockContent function core/themes/default_admin/src/Hook/PreprocessHooks.php Implements hook_preprocess_HOOK() for admin_block.
PreprocessHooks::preprocessBlock function core/themes/default_admin/src/Hook/PreprocessHooks.php Implements hook_preprocess_block() for block content.
PreprocessHooks::preprocessBlockContentAddList function core/themes/default_admin/src/Hook/PreprocessHooks.php Implements hook_preprocess_HOOK() for block_content_add_list.

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