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 main for _block
  6. Other projects
Title Object type File name Summary
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.
NodeThemeHooks::preprocessBlock function core/modules/node/src/Hook/NodeThemeHooks.php Implements hook_preprocess_HOOK() for block templates.
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.
PreviewAwareBlock class core/modules/layout_builder/tests/modules/layout_builder_test/src/Plugin/Block/PreviewAwareBlock.php Defines a class for a context-aware block.
PreviewAwareBlock.php file core/modules/layout_builder/tests/modules/layout_builder_test/src/Plugin/Block/PreviewAwareBlock.php
PreviewAwareBlock::build function core/modules/layout_builder/tests/modules/layout_builder_test/src/Plugin/Block/PreviewAwareBlock.php Builds and returns the renderable array for this block plugin.
RedirectBlockForm class core/modules/system/tests/modules/form_test/src/Form/RedirectBlockForm.php Builds a simple form that redirects on submit.
RedirectBlockForm.php file core/modules/system/tests/modules/form_test/src/Form/RedirectBlockForm.php
RedirectBlockForm::buildForm function core/modules/system/tests/modules/form_test/src/Form/RedirectBlockForm.php Form constructor.

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