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 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/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
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…
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
LanguageBlock::build function core/modules/language/src/Plugin/Block/LanguageBlock.php
LanguageBlock::create function core/modules/language/src/Plugin/Block/LanguageBlock.php
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
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
LanguageBlockSettingsVisibilityTest::$modules property core/modules/language/tests/src/Functional/LanguageBlockSettingsVisibilityTest.php
LanguageBlockSettingsVisibilityTest::testUnnecessaryLanguageSettingsVisibility function core/modules/language/tests/src/Functional/LanguageBlockSettingsVisibilityTest.php
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.
language_preprocess_block function core/modules/language/language.module Implements hook_preprocess_HOOK() for block templates.
LayoutBuilderBlocksTest class core/modules/layout_builder/tests/src/Functional/LayoutBuilderBlocksTest.php Tests the Layout Builder UI with blocks.
LayoutBuilderBlocksTest.php file core/modules/layout_builder/tests/src/Functional/LayoutBuilderBlocksTest.php
LayoutBuilderBlocksTest::testBlockPlaceholder function core/modules/layout_builder/tests/src/Functional/LayoutBuilderBlocksTest.php Tests the usage of placeholders for empty blocks.
LayoutBuilderBlocksTest::testBlockUiListing function core/modules/layout_builder/tests/src/Functional/LayoutBuilderBlocksTest.php Tests the Block UI when Layout Builder is installed.
LayoutBuilderBlocksTest::testDeletedView function core/modules/layout_builder/tests/src/Functional/LayoutBuilderBlocksTest.php Tests that deleting a View block used in Layout Builder works.
LayoutBuilderBlocksTest::testFieldBlockLabel function core/modules/layout_builder/tests/src/Functional/LayoutBuilderBlocksTest.php Tests the ability to use a specified block label for field blocks.
LayoutBuilderBlocksTest::testLayoutBuilderChooseBlocksAlter function core/modules/layout_builder/tests/src/Functional/LayoutBuilderBlocksTest.php
LayoutBuilderBlocksTest::testPluginsProvidingCustomAttributesAndContextualLinks function core/modules/layout_builder/tests/src/Functional/LayoutBuilderBlocksTest.php Tests that block plugins can define custom attributes and contextual links.
LayoutBuilderBlocksTest::testPreviewAwarePlugins function core/modules/layout_builder/tests/src/Functional/LayoutBuilderBlocksTest.php Tests preview-aware layout & block plugins.
LayoutBuilderContentModerationIntegrationTest::testModeratedInlineBlockBundles function core/modules/content_moderation/tests/src/Functional/LayoutBuilderContentModerationIntegrationTest.php Test placing inline blocks that belong to a moderated content block bundle.
LayoutBuilderDisableInteractionsTest::addBlock function core/modules/layout_builder/tests/src/FunctionalJavascript/LayoutBuilderDisableInteractionsTest.php Adds a block in the Layout Builder.
LayoutBuilderFieldBlockEntityReferenceCacheTagsTest class core/modules/layout_builder/tests/src/Functional/LayoutBuilderFieldBlockEntityReferenceCacheTagsTest.php Tests cache tags on entity reference field blocks in Layout Builder.
LayoutBuilderFieldBlockEntityReferenceCacheTagsTest.php file core/modules/layout_builder/tests/src/Functional/LayoutBuilderFieldBlockEntityReferenceCacheTagsTest.php
LayoutBuilderFieldBlockEntityReferenceCacheTagsTest::$defaultTheme property core/modules/layout_builder/tests/src/Functional/LayoutBuilderFieldBlockEntityReferenceCacheTagsTest.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.