Search for block

  1. Search 7.x for block
  2. Search 9.5.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 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 class core/modules/node/tests/src/Functional/NodeBlockFunctionalTest.php Tests node block functionality.
NodeBlockFunctionalTest.php file core/modules/node/tests/src/Functional/NodeBlockFunctionalTest.php
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::testRecentNodeBlock function core/modules/node/tests/src/Functional/NodeBlockFunctionalTest.php Tests the recent comments block.
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_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 Test non-default theme admin.
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.
PageTitleConvertedIntoBlockUpdateTest class core/modules/system/tests/src/Functional/Update/PageTitleConvertedIntoBlockUpdateTest.php Tests the upgrade path for page title being converted into a block.
PageTitleConvertedIntoBlockUpdateTest.php file core/modules/system/tests/src/Functional/Update/PageTitleConvertedIntoBlockUpdateTest.php
PageTitleConvertedIntoBlockUpdateTest::$defaultTheme property core/modules/system/tests/src/Functional/Update/PageTitleConvertedIntoBlockUpdateTest.php The theme to install as the default for testing.
PageTitleConvertedIntoBlockUpdateTest::setDatabaseDumpFiles function core/modules/system/tests/src/Functional/Update/PageTitleConvertedIntoBlockUpdateTest.php Set database dump files to be used.
PageTitleConvertedIntoBlockUpdateTest::setUp function core/modules/system/tests/src/Functional/Update/PageTitleConvertedIntoBlockUpdateTest.php Overrides WebTestBase::setUp() for update testing.
PageTitleConvertedIntoBlockUpdateTest::testUpdateHookN function core/modules/system/tests/src/Functional/Update/PageTitleConvertedIntoBlockUpdateTest.php Tests that page title is being converted into a block.
PlaceBlockPageVariant class core/modules/block_place/src/Plugin/DisplayVariant/PlaceBlockPageVariant.php Allows blocks to be placed directly within a region.
PlaceBlockPageVariant.php file core/modules/block_place/src/Plugin/DisplayVariant/PlaceBlockPageVariant.php
PlaceBlockPageVariant::$redirectDestination property core/modules/block_place/src/Plugin/DisplayVariant/PlaceBlockPageVariant.php The redirect destination.
PlaceBlockPageVariant::$themeManager property core/modules/block_place/src/Plugin/DisplayVariant/PlaceBlockPageVariant.php The theme manager.
PlaceBlockPageVariant::build function core/modules/block_place/src/Plugin/DisplayVariant/PlaceBlockPageVariant.php Builds and returns the renderable array for the display variant.
PlaceBlockPageVariant::create function core/modules/block_place/src/Plugin/DisplayVariant/PlaceBlockPageVariant.php Creates an instance of the plugin.
PlaceBlockPageVariant::getVisibleRegionNames function core/modules/block_place/src/Plugin/DisplayVariant/PlaceBlockPageVariant.php Returns the human-readable list of regions keyed by machine name.
PlaceBlockPageVariant::__construct function core/modules/block_place/src/Plugin/DisplayVariant/PlaceBlockPageVariant.php Constructs a new PlaceBlockPageVariant.
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
QuickEditEndPointAccessTest::assertAccessIsBlocked function core/modules/quickedit/tests/src/Functional/QuickEditEndPointAccessTest.php Asserts that access to the passed URL is blocked.
QuickEditIntegrationTest::createBlockContent function core/modules/settings_tray/tests/src/FunctionalJavascript/QuickEditIntegrationTest.php Creates a custom block.
QuickEditIntegrationTest::createBlockContentType function core/modules/settings_tray/tests/src/FunctionalJavascript/QuickEditIntegrationTest.php Creates a custom block type (bundle).
QuickEditIntegrationTest::testCustomBlock function core/modules/quickedit/tests/src/FunctionalJavascript/QuickEditIntegrationTest.php Tests if a custom can be in-place edited with Quick Edit.

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