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. 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
NonDefaultBlockAdminTest::testNonDefaultBlockAdmin function core/modules/block/tests/src/Functional/NonDefaultBlockAdminTest.php Tests non-default theme admin.
OliveroTest::testPreprocessBlock function core/tests/Drupal/FunctionalTests/Theme/OliveroTest.php Tests that olivero_preprocess_block is functioning as expected.
olivero_preprocess_block function core/themes/olivero/olivero.theme Implements hook_preprocess_HOOK() for block.html.twig.
olivero_theme_suggestions_block_alter function core/themes/olivero/olivero.theme Implements hook_theme_suggestions_HOOK_alter() for block().
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.
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.
RedirectBlockForm::getFormId function core/modules/system/tests/modules/form_test/src/Form/RedirectBlockForm.php Returns a unique string identifying the form.
RedirectBlockForm::submitForm function core/modules/system/tests/modules/form_test/src/Form/RedirectBlockForm.php Form submission handler.
RedirectFormBlock class core/modules/system/tests/modules/form_test/src/Plugin/Block/RedirectFormBlock.php Provides a block containing a simple redirect form.
RedirectFormBlock.php file core/modules/system/tests/modules/form_test/src/Plugin/Block/RedirectFormBlock.php
RedirectFormBlock::$formBuilder property core/modules/system/tests/modules/form_test/src/Plugin/Block/RedirectFormBlock.php The form builder.
RedirectFormBlock::build function core/modules/system/tests/modules/form_test/src/Plugin/Block/RedirectFormBlock.php Builds and returns the renderable array for this block plugin.
RedirectFormBlock::create function core/modules/system/tests/modules/form_test/src/Plugin/Block/RedirectFormBlock.php Creates an instance of the plugin.
RedirectFormBlock::__construct function core/modules/system/tests/modules/form_test/src/Plugin/Block/RedirectFormBlock.php Constructs a new RedirectFormBlock.
RemoveBlockForm class core/modules/layout_builder/src/Form/RemoveBlockForm.php Provides a form to confirm the removal of a block.
RemoveBlockForm.php file core/modules/layout_builder/src/Form/RemoveBlockForm.php
RemoveBlockForm::$region property core/modules/layout_builder/src/Form/RemoveBlockForm.php The current region.
RemoveBlockForm::$uuid property core/modules/layout_builder/src/Form/RemoveBlockForm.php The UUID of the block being removed.
RemoveBlockForm::buildForm function core/modules/layout_builder/src/Form/RemoveBlockForm.php Form constructor.
RemoveBlockForm::getConfirmText function core/modules/layout_builder/src/Form/RemoveBlockForm.php Returns a caption for the button that confirms the action.
RemoveBlockForm::getFormId function core/modules/layout_builder/src/Form/RemoveBlockForm.php Returns a unique string identifying the form.
RemoveBlockForm::getQuestion function core/modules/layout_builder/src/Form/RemoveBlockForm.php Returns the question to ask the user.
RemoveBlockForm::handleSectionStorage function core/modules/layout_builder/src/Form/RemoveBlockForm.php Performs any actions on the section storage before saving.
RevisionRelationshipsTest::testBlockContentRevisionRelationship function core/modules/block_content/tests/src/Kernel/Views/RevisionRelationshipsTest.php Create a block_content with revision and rest result count for both views.
RouteBuilderTest::testRebuildBlockingLock function core/tests/Drupal/Tests/Core/Routing/RouteBuilderTest.php Tests route rebuilding with a blocking lock.

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