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
InlineBlockUsage::__construct function core/modules/layout_builder/src/InlineBlockUsage.php Creates an InlineBlockUsage object.
InlineBlockUsageInterface interface core/modules/layout_builder/src/InlineBlockUsageInterface.php Defines an interface for tracking inline block usage.
InlineBlockUsageInterface.php file core/modules/layout_builder/src/InlineBlockUsageInterface.php
InlineBlockUsageInterface::addUsage function core/modules/layout_builder/src/InlineBlockUsageInterface.php Adds a usage record.
InlineBlockUsageInterface::deleteUsage function core/modules/layout_builder/src/InlineBlockUsageInterface.php Delete the inline blocks' the usage records.
InlineBlockUsageInterface::getUnused function core/modules/layout_builder/src/InlineBlockUsageInterface.php Gets unused inline block IDs.
InlineBlockUsageInterface::getUsage function core/modules/layout_builder/src/InlineBlockUsageInterface.php Gets usage record for inline block by ID.
InlineBlockUsageInterface::removeByLayoutEntity function core/modules/layout_builder/src/InlineBlockUsageInterface.php Remove usage record by layout entity.
InlineBlockUsageTest class core/modules/layout_builder/tests/src/Unit/InlineBlockUsageTest.php @coversDefaultClass \Drupal\layout_builder\InlineBlockUsage
InlineBlockUsageTest.php file core/modules/layout_builder/tests/src/Unit/InlineBlockUsageTest.php
InlineBlockUsageTest::testEmptyDeleteUsageCall function core/modules/layout_builder/tests/src/Unit/InlineBlockUsageTest.php Tests calling deleteUsage() with empty array.
inline_block.usage service core/modules/layout_builder/layout_builder.services.yml Drupal\layout_builder\InlineBlockUsage
InstallerThemesBlocksProfileTest class core/tests/Drupal/FunctionalTests/Installer/InstallerThemesBlocksProfileTest.php Verifies that the installer does not generate theme blocks.
InstallerThemesBlocksProfileTest.php file core/tests/Drupal/FunctionalTests/Installer/InstallerThemesBlocksProfileTest.php
InstallerThemesBlocksProfileTest::$defaultTheme property core/tests/Drupal/FunctionalTests/Installer/InstallerThemesBlocksProfileTest.php The theme to install as the default for testing.
InstallerThemesBlocksProfileTest::$profile property core/tests/Drupal/FunctionalTests/Installer/InstallerThemesBlocksProfileTest.php The installation profile to install.
InstallerThemesBlocksProfileTest::testInstaller function core/tests/Drupal/FunctionalTests/Installer/InstallerThemesBlocksProfileTest.php Verify that there is no automatic block generation.
InstallHelper::processBannerBlock function core/profiles/demo_umami/modules/demo_umami_content/src/InstallHelper.php Process block_banner data into block_banner block structure.
InstallHelper::processDisclaimerBlock function core/profiles/demo_umami/modules/demo_umami_content/src/InstallHelper.php Process disclaimer_block data into disclaimer_block block structure.
InstallHelper::processFooterPromoBlock function core/profiles/demo_umami/modules/demo_umami_content/src/InstallHelper.php Process footer_block data into footer_block block structure.
IpAddressBlockingTest class core/modules/ban/tests/src/Functional/IpAddressBlockingTest.php Tests IP address banning.
IpAddressBlockingTest.php file core/modules/ban/tests/src/Functional/IpAddressBlockingTest.php
IpAddressBlockingTest::$defaultTheme property core/modules/ban/tests/src/Functional/IpAddressBlockingTest.php The theme to install as the default for testing.
IpAddressBlockingTest::$modules property core/modules/ban/tests/src/Functional/IpAddressBlockingTest.php Modules to install.
IpAddressBlockingTest::testIPAddressValidation function core/modules/ban/tests/src/Functional/IpAddressBlockingTest.php Tests various user input to confirm correct validation and saving of data.
ItemLayoutFieldBlockTest class core/modules/layout_builder/tests/src/FunctionalJavascript/ItemLayoutFieldBlockTest.php Field blocks tests for the override layout.
ItemLayoutFieldBlockTest.php file core/modules/layout_builder/tests/src/FunctionalJavascript/ItemLayoutFieldBlockTest.php
ItemLayoutFieldBlockTest::$defaultTheme property core/modules/layout_builder/tests/src/FunctionalJavascript/ItemLayoutFieldBlockTest.php The theme to install as the default for testing.
ItemLayoutFieldBlockTest::$modules property core/modules/layout_builder/tests/src/FunctionalJavascript/ItemLayoutFieldBlockTest.php Modules to enable.
ItemLayoutFieldBlockTest::setUp function core/modules/layout_builder/tests/src/FunctionalJavascript/ItemLayoutFieldBlockTest.php
ItemLayoutFieldBlockTest::testAddAjaxBlock function core/modules/layout_builder/tests/src/FunctionalJavascript/ItemLayoutFieldBlockTest.php Tests configuring a field block for a user field.
js-interaction-test-blocker-element.css file core/modules/system/tests/modules/js_interaction_test/css/js-interaction-test-blocker-element.css .blocker-element {
/* Position the box over the target. */
position: relative;
z-index: 1;
top: -30px;
left: -5px;
/* Size the box to cover the target. */
width: 500px;
height: 40px;
opacity: 0.5;
/* Make the blocker element…
jsonapi_jsonapi_block_content_filter_access function core/modules/jsonapi/jsonapi.module Implements hook_jsonapi_ENTITY_TYPE_filter_access() for 'block_content'.
language.content_settings.block_content.banner_block.yml file core/profiles/demo_umami/config/install/language.content_settings.block_content.banner_block.yml core/profiles/demo_umami/config/install/language.content_settings.block_content.banner_block.yml
language.content_settings.block_content.basic.yml file core/profiles/demo_umami/config/install/language.content_settings.block_content.basic.yml core/profiles/demo_umami/config/install/language.content_settings.block_content.basic.yml
language.content_settings.block_content.disclaimer_block.yml file core/profiles/demo_umami/config/install/language.content_settings.block_content.disclaimer_block.yml core/profiles/demo_umami/config/install/language.content_settings.block_content.disclaimer_block.yml
language.content_settings.block_content.footer_promo_block.yml file core/profiles/demo_umami/config/install/language.content_settings.block_content.footer_promo_block.yml core/profiles/demo_umami/config/install/language.content_settings.block_content.footer_promo_block.yml
LanguageBlock class core/modules/language/src/Plugin/Derivative/LanguageBlock.php Provides language switcher block plugin definitions for all languages.
LanguageBlock class core/modules/language/src/Plugin/Block/LanguageBlock.php Provides a 'Language switcher' block.
LanguageBlock.php file core/modules/language/src/Plugin/Derivative/LanguageBlock.php
LanguageBlock.php file core/modules/language/src/Plugin/Block/LanguageBlock.php
LanguageBlock::$languageManager property core/modules/language/src/Plugin/Block/LanguageBlock.php The language manager.
LanguageBlock::$pathMatcher property core/modules/language/src/Plugin/Block/LanguageBlock.php The path matcher.
LanguageBlock::blockAccess function core/modules/language/src/Plugin/Block/LanguageBlock.php Indicates whether the block should be shown.
LanguageBlock::build function core/modules/language/src/Plugin/Block/LanguageBlock.php Builds and returns the renderable array for this block plugin.
LanguageBlock::create function core/modules/language/src/Plugin/Block/LanguageBlock.php Creates an instance of the plugin.
LanguageBlock::getCacheMaxAge function core/modules/language/src/Plugin/Block/LanguageBlock.php @todo Make cacheable in https://www.drupal.org/node/2232375.
LanguageBlock::getDerivativeDefinitions function core/modules/language/src/Plugin/Derivative/LanguageBlock.php Gets the definition of all derivatives of a base plugin.
LanguageBlock::__construct function core/modules/language/src/Plugin/Block/LanguageBlock.php Constructs a LanguageBlock object.
LanguageBlockSettingsVisibilityTest class core/modules/language/tests/src/Functional/LanguageBlockSettingsVisibilityTest.php Tests that the language settings on block config appears correctly.

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