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
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().
BlockHooks::menuDelete function core/modules/block/src/Hook/BlockHooks.php Implements hook_ENTITY_TYPE_delete() for menu entities.
BlockHooks::modulesInstalled function core/modules/block/src/Hook/BlockHooks.php Implements hook_modules_installed().
BlockHooks::pageTop function core/modules/block/src/Hook/BlockHooks.php Implements hook_page_top().
BlockHooks::rebuild function core/modules/block/src/Hook/BlockHooks.php Implements hook_rebuild().
BlockHooks::theme function core/modules/block/src/Hook/BlockHooks.php Implements hook_theme().
BlockHooks::userRoleDelete function core/modules/block/src/Hook/BlockHooks.php Implements hook_ENTITY_TYPE_delete() for user_role entities.
BlockHtmlTest class core/modules/block/tests/src/Functional/BlockHtmlTest.php Tests block HTML ID validity.
BlockHtmlTest.php file core/modules/block/tests/src/Functional/BlockHtmlTest.php
BlockHtmlTest::$defaultTheme property core/modules/block/tests/src/Functional/BlockHtmlTest.php The theme to install as the default for testing.
BlockHtmlTest::$modules property core/modules/block/tests/src/Functional/BlockHtmlTest.php Modules to install.
BlockHtmlTest::setUp function core/modules/block/tests/src/Functional/BlockHtmlTest.php
BlockHtmlTest::testHtml function core/modules/block/tests/src/Functional/BlockHtmlTest.php Tests for valid HTML for a block.
BlockInstallTest class core/modules/block/tests/src/Functional/BlockInstallTest.php Tests block module's installation.
BlockInstallTest.php file core/modules/block/tests/src/Functional/BlockInstallTest.php
BlockInstallTest::$defaultTheme property core/modules/block/tests/src/Functional/BlockInstallTest.php The theme to install as the default for testing.
BlockInstallTest::testCacheTagInvalidationUponInstallation function core/modules/block/tests/src/Functional/BlockInstallTest.php Tests cache tag invalidation after installing the block module.
BlockInterface interface core/modules/block/src/BlockInterface.php Provides an interface defining a block entity.
BlockInterface.php file core/modules/block/src/BlockInterface.php
BlockInterface::createDuplicateBlock function core/modules/block/src/BlockInterface.php Creates a duplicate of the block entity.
BlockInterface::getPlugin function core/modules/block/src/BlockInterface.php Returns the plugin instance.
BlockInterface::getPluginId function core/modules/block/src/BlockInterface.php Returns the plugin ID.
BlockInterface::getRegion function core/modules/block/src/BlockInterface.php Returns the region this block is placed in.
BlockInterface::getTheme function core/modules/block/src/BlockInterface.php Returns the theme ID.
BlockInterface::getVisibility function core/modules/block/src/BlockInterface.php Returns an array of visibility condition configurations.
BlockInterface::getVisibilityCondition function core/modules/block/src/BlockInterface.php Gets a visibility condition plugin instance.
BlockInterface::getVisibilityConditions function core/modules/block/src/BlockInterface.php Gets conditions for this block.
BlockInterface::getWeight function core/modules/block/src/BlockInterface.php Returns the weight of this block (used for sorting).
BlockInterface::setRegion function core/modules/block/src/BlockInterface.php Sets the region this block is placed in.
BlockInterface::setVisibilityConfig function core/modules/block/src/BlockInterface.php Sets the visibility condition configuration.
BlockInterface::setWeight function core/modules/block/src/BlockInterface.php Sets the block weight.
BlockInterfaceTest class core/modules/block/tests/src/Kernel/BlockInterfaceTest.php Tests that the block plugin can work properly without a supporting entity.
BlockInterfaceTest.php file core/modules/block/tests/src/Kernel/BlockInterfaceTest.php
BlockInterfaceTest::$modules property core/modules/block/tests/src/Kernel/BlockInterfaceTest.php Modules to install.
BlockInterfaceTest::testBlockInterface function core/modules/block/tests/src/Kernel/BlockInterfaceTest.php Tests configuration and subsequent form() and build() method calls.

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