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
BlockFormInBlockTest class core/modules/block/tests/src/Functional/BlockFormInBlockTest.php Tests form in block caching.
BlockFormInBlockTest.php file core/modules/block/tests/src/Functional/BlockFormInBlockTest.php
BlockFormInBlockTest::$defaultTheme property core/modules/block/tests/src/Functional/BlockFormInBlockTest.php The theme to install as the default for testing.
BlockFormInBlockTest::$modules property core/modules/block/tests/src/Functional/BlockFormInBlockTest.php Modules to install.
BlockFormInBlockTest::setUp function core/modules/block/tests/src/Functional/BlockFormInBlockTest.php
BlockFormInBlockTest::testCachePerPage function core/modules/block/tests/src/Functional/BlockFormInBlockTest.php Tests to see if form in block's redirect isn't cached.
BlockFormInBlockTest::testPlaceholders function core/modules/block/tests/src/Functional/BlockFormInBlockTest.php Tests the actual placeholders.
BlockFormMessagesTest class core/modules/layout_builder/tests/src/FunctionalJavascript/BlockFormMessagesTest.php Tests that messages appear in the off-canvas dialog with configuring blocks.
BlockFormMessagesTest.php file core/modules/layout_builder/tests/src/FunctionalJavascript/BlockFormMessagesTest.php
BlockFormMessagesTest::$defaultTheme property core/modules/layout_builder/tests/src/FunctionalJavascript/BlockFormMessagesTest.php The theme to install as the default for testing.
BlockFormMessagesTest::$modules property core/modules/layout_builder/tests/src/FunctionalJavascript/BlockFormMessagesTest.php Modules to install.
BlockFormMessagesTest::assertMessagesDisplayed function core/modules/layout_builder/tests/src/FunctionalJavascript/BlockFormMessagesTest.php Asserts that the validation messages are shown correctly.
BlockFormMessagesTest::setUp function core/modules/layout_builder/tests/src/FunctionalJavascript/BlockFormMessagesTest.php
BlockFormMessagesTest::testValidationMessage function core/modules/layout_builder/tests/src/FunctionalJavascript/BlockFormMessagesTest.php Tests that validation messages are shown on the block form.
BlockFormTest class core/modules/block/tests/src/Unit/BlockFormTest.php @coversDefaultClass \Drupal\block\BlockForm
@group block
BlockFormTest.php file core/modules/block/tests/src/Unit/BlockFormTest.php
BlockFormTest::$blockRepository property core/modules/block/tests/src/Unit/BlockFormTest.php The block repository.
BlockFormTest::$conditionManager property core/modules/block/tests/src/Unit/BlockFormTest.php The condition plugin manager.
BlockFormTest::$contextHandler property core/modules/block/tests/src/Unit/BlockFormTest.php The mocked context handler.
BlockFormTest::$contextRepository property core/modules/block/tests/src/Unit/BlockFormTest.php The mocked context repository.
BlockFormTest::$entityTypeManager property core/modules/block/tests/src/Unit/BlockFormTest.php The entity type manager.
BlockFormTest::$language property core/modules/block/tests/src/Unit/BlockFormTest.php The language manager service.
BlockFormTest::$pluginFormFactory property core/modules/block/tests/src/Unit/BlockFormTest.php The plugin form manager.
BlockFormTest::$storage property core/modules/block/tests/src/Unit/BlockFormTest.php The block storage.
BlockFormTest::$themeHandler property core/modules/block/tests/src/Unit/BlockFormTest.php The theme handler.
BlockFormTest::$themeManager property core/modules/block/tests/src/Unit/BlockFormTest.php The theme manager service.
BlockFormTest::getBlockMockWithMachineName function core/modules/block/tests/src/Unit/BlockFormTest.php Mocks a block with a block plugin.
BlockFormTest::setUp function core/modules/block/tests/src/Unit/BlockFormTest.php
BlockFormTest::testGetUniqueMachineName function core/modules/block/tests/src/Unit/BlockFormTest.php Tests the unique machine name generator.
BlockHasOverridesAccessCheck class core/modules/settings_tray/src/Access/BlockHasOverridesAccessCheck.php Determines whether the requested block has a 'settings_tray' form.
BlockHasOverridesAccessCheck.php file core/modules/settings_tray/src/Access/BlockHasOverridesAccessCheck.php
BlockHasOverridesAccessCheck::access function core/modules/settings_tray/src/Access/BlockHasOverridesAccessCheck.php Checks access for accessing a block's 'settings_tray' form.
BlockHiddenRegionTest class core/modules/block/tests/src/Functional/BlockHiddenRegionTest.php Tests that blocks are not added to hidden regions on theme installation.
BlockHiddenRegionTest.php file core/modules/block/tests/src/Functional/BlockHiddenRegionTest.php
BlockHiddenRegionTest::$adminUser property core/modules/block/tests/src/Functional/BlockHiddenRegionTest.php An administrative user to configure the test environment.
BlockHiddenRegionTest::$defaultTheme property core/modules/block/tests/src/Functional/BlockHiddenRegionTest.php The theme to install as the default for testing.
BlockHiddenRegionTest::$modules property core/modules/block/tests/src/Functional/BlockHiddenRegionTest.php Modules to install.
BlockHiddenRegionTest::setUp function core/modules/block/tests/src/Functional/BlockHiddenRegionTest.php
BlockHiddenRegionTest::testBlockNotInHiddenRegion function core/modules/block/tests/src/Functional/BlockHiddenRegionTest.php Tests that hidden regions do not inherit blocks when a theme is installed.
BlockHookOperationTest class core/modules/block/tests/src/Functional/BlockHookOperationTest.php Tests for Block module regarding hook_entity_operations_alter().
BlockHookOperationTest.php file core/modules/block/tests/src/Functional/BlockHookOperationTest.php
BlockHookOperationTest::$defaultTheme property core/modules/block/tests/src/Functional/BlockHookOperationTest.php The theme to install as the default for testing.
BlockHookOperationTest::$modules property core/modules/block/tests/src/Functional/BlockHookOperationTest.php Modules to install.
BlockHookOperationTest::setUp function core/modules/block/tests/src/Functional/BlockHookOperationTest.php
BlockHookOperationTest::testBlockOperationAlter function core/modules/block/tests/src/Functional/BlockHookOperationTest.php Tests the block list to see if the test_operation link is added.
BlockHooks class core/modules/block/src/Hook/BlockHooks.php Hook implementations for block.
BlockHooks.php file core/modules/block/src/Hook/BlockHooks.php
BlockHooks::blockBuildLocalActionsBlockAlter function core/modules/block/src/Hook/BlockHooks.php Implements hook_block_build_BASE_BLOCK_ID_alter().
BlockHooks::configurableLanguageDelete function core/modules/block/src/Hook/BlockHooks.php Implements hook_ENTITY_TYPE_delete() for 'configurable_language'.
BlockHooks::help function core/modules/block/src/Hook/BlockHooks.php Implements hook_help().

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