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
InlineBlockUsageTest::testGetUsage function core/modules/layout_builder/tests/src/Kernel/InlineBlockUsageTest.php Covers ::getUsage.
InlineBlockUsageTest::testRemoveByLayoutEntity function core/modules/layout_builder/tests/src/Kernel/InlineBlockUsageTest.php Covers ::removeByLayoutEntity.
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 install.
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…
JsonapiHooks::jsonapiBlockContentFilterAccess function core/modules/jsonapi/src/Hook/JsonapiHooks.php 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.
LanguageBlockSettingsVisibilityTest.php file core/modules/language/tests/src/Functional/LanguageBlockSettingsVisibilityTest.php
LanguageBlockSettingsVisibilityTest::$defaultTheme property core/modules/language/tests/src/Functional/LanguageBlockSettingsVisibilityTest.php The theme to install as the default for testing.
LanguageBlockSettingsVisibilityTest::$modules property core/modules/language/tests/src/Functional/LanguageBlockSettingsVisibilityTest.php Modules to install.
LanguageBlockSettingsVisibilityTest::testUnnecessaryLanguageSettingsVisibility function core/modules/language/tests/src/Functional/LanguageBlockSettingsVisibilityTest.php Tests languages displayed in the language switcher.
LanguageSwitchingTest::doTestLanguageBlock404 function core/modules/language/tests/src/Functional/LanguageSwitchingTest.php Tests the language switcher block on 404 pages.
LanguageSwitchingTest::doTestLanguageBlockAnonymous function core/modules/language/tests/src/Functional/LanguageSwitchingTest.php For anonymous users, the "active" class is set by PHP.
LanguageSwitchingTest::doTestLanguageBlockAuthenticated function core/modules/language/tests/src/Functional/LanguageSwitchingTest.php For authenticated users, the "active" class is set by JavaScript.
LanguageSwitchingTest::testLanguageBlock function core/modules/language/tests/src/Functional/LanguageSwitchingTest.php Functional tests for the language switcher block.
LanguageSwitchingTest::testLanguageBlockWithDomain function core/modules/language/tests/src/Functional/LanguageSwitchingTest.php Tests language switcher links for domain based negotiation.

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