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
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
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.
BlockInvalidRegionTest class core/modules/block/tests/src/Functional/BlockInvalidRegionTest.php Tests that blocks assigned to invalid regions are disabled with a warning.
BlockInvalidRegionTest.php file core/modules/block/tests/src/Functional/BlockInvalidRegionTest.php
BlockInvalidRegionTest::$configSchemaCheckerExclusions property core/modules/block/tests/src/Functional/BlockInvalidRegionTest.php An array of config object names that are excluded from schema checking.
BlockInvalidRegionTest::$defaultTheme property core/modules/block/tests/src/Functional/BlockInvalidRegionTest.php The theme to install as the default for testing.
BlockInvalidRegionTest::$modules property core/modules/block/tests/src/Functional/BlockInvalidRegionTest.php Modules to install.
BlockInvalidRegionTest::setUp function core/modules/block/tests/src/Functional/BlockInvalidRegionTest.php
BlockInvalidRegionTest::testBlockInInvalidRegion function core/modules/block/tests/src/Functional/BlockInvalidRegionTest.php Tests that blocks assigned to invalid regions work correctly.
BlockJsonAnonTest class core/modules/block/tests/src/Functional/Rest/BlockJsonAnonTest.php @group rest
BlockJsonAnonTest.php file core/modules/block/tests/src/Functional/Rest/BlockJsonAnonTest.php
BlockJsonAnonTest::$defaultTheme property core/modules/block/tests/src/Functional/Rest/BlockJsonAnonTest.php The theme to install as the default for testing.
BlockJsonAnonTest::$format property core/modules/block/tests/src/Functional/Rest/BlockJsonAnonTest.php The format to use in this test.
BlockJsonAnonTest::$mimeType property core/modules/block/tests/src/Functional/Rest/BlockJsonAnonTest.php The MIME type that corresponds to $format.
BlockJsonBasicAuthTest class core/modules/block/tests/src/Functional/Rest/BlockJsonBasicAuthTest.php @group rest
BlockJsonBasicAuthTest.php file core/modules/block/tests/src/Functional/Rest/BlockJsonBasicAuthTest.php
BlockJsonBasicAuthTest::$auth property core/modules/block/tests/src/Functional/Rest/BlockJsonBasicAuthTest.php The authentication mechanism to use in this test.
BlockJsonBasicAuthTest::$defaultTheme property core/modules/block/tests/src/Functional/Rest/BlockJsonBasicAuthTest.php The theme to install as the default for testing.

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