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
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 enable.
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.
LayoutBuilderContentModerationIntegrationTest::testModeratedInlineBlockBundles function core/modules/content_moderation/tests/src/Functional/LayoutBuilderContentModerationIntegrationTest.php Test placing inline blocks that belong to a moderated custom 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.
LayoutBuilderFieldBlockEntityReferenceCacheTagsTest::$modules property core/modules/layout_builder/tests/src/Functional/LayoutBuilderFieldBlockEntityReferenceCacheTagsTest.php Modules to enable.
LayoutBuilderFieldBlockEntityReferenceCacheTagsTest::setUp function core/modules/layout_builder/tests/src/Functional/LayoutBuilderFieldBlockEntityReferenceCacheTagsTest.php
LayoutBuilderFieldBlockEntityReferenceCacheTagsTest::testEntityReferenceFieldBlockCaching function core/modules/layout_builder/tests/src/Functional/LayoutBuilderFieldBlockEntityReferenceCacheTagsTest.php Tests cache tags on field block for entity reference field.
LayoutBuilderFieldBlockEntityReferenceCacheTagsTest::verifyPageCacheContainsTags function core/modules/layout_builder/tests/src/Functional/LayoutBuilderFieldBlockEntityReferenceCacheTagsTest.php Verify that when loading a given page, it's a page cache hit or miss.
LayoutBuilderHighlightTrait::blockAddHighlightId function core/modules/layout_builder/src/LayoutBuilderHighlightTrait.php Provides the ID used to highlight the active Layout Builder UI element.
LayoutBuilderHighlightTrait::blockUpdateHighlightId function core/modules/layout_builder/src/LayoutBuilderHighlightTrait.php Provides the ID used to highlight the active Layout Builder UI element.
LayoutBuilderIntegrationTest::testCustomBlock function core/modules/quickedit/tests/src/FunctionalJavascript/LayoutBuilderIntegrationTest.php Tests if a custom can be in-place edited with Quick Edit.
LayoutBuilderNestedFormUiTest::addFormBlock function core/modules/layout_builder/tests/src/FunctionalJavascript/LayoutBuilderNestedFormUiTest.php Adds a form block specified by label layout and checks it can be saved.
LayoutBuilderNestedFormUiTest::FORM_BLOCK_LABELS constant core/modules/layout_builder/tests/src/FunctionalJavascript/LayoutBuilderNestedFormUiTest.php The form block labels used as text for links to add blocks.
LayoutBuilderNestedFormUiTest::testAddingFormBlocksToDefaults function core/modules/layout_builder/tests/src/FunctionalJavascript/LayoutBuilderNestedFormUiTest.php Tests blocks containing forms can be successfully saved editing defaults.
LayoutBuilderNestedFormUiTest::testAddingFormBlocksToOverrides function core/modules/layout_builder/tests/src/FunctionalJavascript/LayoutBuilderNestedFormUiTest.php Tests blocks containing forms can be successfully saved editing overrides.
LayoutBuilderOptInTest::getPathForFieldBlock function core/modules/layout_builder/tests/src/FunctionalJavascript/LayoutBuilderOptInTest.php Returns the path to update a field block in the UI.
LayoutBuilderQuickEditTest::testPlaceFieldBlockFromDifferentEntityType function core/modules/quickedit/tests/src/Functional/LayoutBuilderQuickEditTest.php Tests Quick Edit integration with a block from a different entity type.
LayoutBuilderTest::openAddBlockForm function core/modules/layout_builder/tests/src/FunctionalJavascript/LayoutBuilderTest.php Opens the add block form in the off-canvas dialog.
LayoutBuilderTest::testBlockPlaceholder function core/modules/layout_builder/tests/src/Functional/LayoutBuilderTest.php Tests the usage of placeholders for empty blocks.
LayoutBuilderTest::testBlockUiListing function core/modules/layout_builder/tests/src/Functional/LayoutBuilderTest.php Tests the Block UI when Layout Builder is installed.
LayoutBuilderTest::testLayoutBuilderChooseBlocksAlter function core/modules/layout_builder/tests/src/Functional/LayoutBuilderTest.php
LayoutBuilderThemeSuggestionsTest::testFieldBlockViewModeTemplates function core/modules/layout_builder/tests/src/Functional/LayoutBuilderThemeSuggestionsTest.php Tests that of view mode specific field templates are suggested.
LayoutEntityHelperTrait::getInlineBlockComponents function core/modules/layout_builder/src/LayoutEntityHelperTrait.php Gets components that have Inline Block plugins.
LayoutEntityHelperTrait::getInlineBlockRevisionIdsInSections function core/modules/layout_builder/src/LayoutEntityHelperTrait.php Gets revision IDs for layout sections.
LayoutEntityHelperTraitTest::testGetInlineBlockComponents function core/modules/layout_builder/tests/src/Unit/LayoutEntityHelperTraitTest.php @covers ::getInlineBlockComponents
LayoutEntityHelperTraitTest::testGetInlineBlockRevisionIdsInSections function core/modules/layout_builder/tests/src/Unit/LayoutEntityHelperTraitTest.php @covers ::getInlineBlockRevisionIdsInSections
layout_builder.render_block_component_subscriber service core/modules/layout_builder/layout_builder.services.yml Drupal\layout_builder\EventSubscriber\BlockComponentRenderArray
layout_builder_block_content_access function core/modules/layout_builder/layout_builder.module Implements hook_ENTITY_TYPE_access().
layout_builder_fieldblock_test.fake_view_mode_context service core/modules/layout_builder/tests/modules/layout_builder_fieldblock_test/layout_builder_fieldblock_test.services.yml Drupal\layout_builder_fieldblock_test\ContextProvider\FakeViewModeContext
layout_builder_fieldblock_test.info.yml file core/modules/layout_builder/tests/modules/layout_builder_fieldblock_test/layout_builder_fieldblock_test.info.yml core/modules/layout_builder/tests/modules/layout_builder_fieldblock_test/layout_builder_fieldblock_test.info.yml
layout_builder_fieldblock_test.schema.yml file core/modules/layout_builder/tests/modules/layout_builder_fieldblock_test/config/schema/layout_builder_fieldblock_test.schema.yml core/modules/layout_builder/tests/modules/layout_builder_fieldblock_test/config/schema/layout_builder_fieldblock_test.schema.yml
layout_builder_fieldblock_test.services.yml file core/modules/layout_builder/tests/modules/layout_builder_fieldblock_test/layout_builder_fieldblock_test.services.yml core/modules/layout_builder/tests/modules/layout_builder_fieldblock_test/layout_builder_fieldblock_test.services.yml
layout_builder_form_block_test.info.yml file core/modules/layout_builder/tests/modules/layout_builder_form_block_test/layout_builder_form_block_test.info.yml core/modules/layout_builder/tests/modules/layout_builder_form_block_test/layout_builder_form_block_test.info.yml
layout_builder_plugin_filter_block_alter function core/modules/layout_builder/layout_builder.module Implements hook_plugin_filter_TYPE_alter().
layout_builder_plugin_filter_block__block_ui_alter function core/modules/layout_builder/layout_builder.module Implements hook_plugin_filter_TYPE__CONSUMER_alter().
layout_builder_plugin_filter_block__layout_builder_alter function core/modules/layout_builder/layout_builder.module Implements hook_plugin_filter_TYPE__CONSUMER_alter().
layout_builder_test_form_layout_builder_configure_block_alter function core/modules/layout_builder/tests/modules/layout_builder_test/layout_builder_test.module Implements hook_form_BASE_FORM_ID_alter() for layout_builder_configure_block.
layout_builder_test_plugin_filter_block__layout_builder_alter function core/modules/layout_builder/tests/modules/layout_builder_test/layout_builder_test.module Implements hook_plugin_filter_TYPE__CONSUMER_alter().
LocalActionsBlock class core/lib/Drupal/Core/Menu/Plugin/Block/LocalActionsBlock.php Provides a block to display the local actions.

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