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
NodeBlockFunctionalTest::$adminUser property core/modules/node/tests/src/Functional/NodeBlockFunctionalTest.php An administrative user for testing.
NodeBlockFunctionalTest::$defaultTheme property core/modules/node/tests/src/Functional/NodeBlockFunctionalTest.php The theme to install as the default for testing.
NodeBlockFunctionalTest::$modules property core/modules/node/tests/src/Functional/NodeBlockFunctionalTest.php Modules to enable.
NodeBlockFunctionalTest::$webUser property core/modules/node/tests/src/Functional/NodeBlockFunctionalTest.php An unprivileged user for testing.
NodeBlockFunctionalTest::setUp function core/modules/node/tests/src/Functional/NodeBlockFunctionalTest.php
NodeBlockFunctionalTest::testDeprecatedNodeTypeCondition function core/modules/node/tests/src/Functional/NodeBlockFunctionalTest.php Tests customization of deprecated node type condition.
NodeBlockFunctionalTest::testRecentNodeBlock function core/modules/node/tests/src/Functional/NodeBlockFunctionalTest.php Tests the recent comments block.
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 enable.
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.
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
node_preprocess_block function core/modules/node/node.module Implements hook_preprocess_HOOK() for block templates.
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.
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.
plugin.manager.block service core/core.services.yml Drupal\Core\Block\BlockManager
PluginTestBase::$mockBlockExpectedDefinitions property core/tests/Drupal/KernelTests/Core/Plugin/PluginTestBase.php
PluginTestBase::$mockBlockManager property core/tests/Drupal/KernelTests/Core/Plugin/PluginTestBase.php
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.
QuickEditEndPointAccessTest::assertAccessIsBlocked function core/modules/quickedit/tests/src/Functional/QuickEditEndPointAccessTest.php Asserts that access to the passed URL is blocked.
QuickEditLoadingTest::testContentBlock function core/modules/quickedit/tests/src/FunctionalJavascript/QuickEditLoadingTest.php Tests that Quick Edit's data- attributes are present for content blocks.
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.

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