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/Annotation/Block.php Defines a Block annotation object.
Block class core/lib/Drupal/Core/Block/Attribute/Block.php The Block attribute.

All search results

Title Object type File name Summary
LayoutBuilderBlockContentDependencyTestThemeHooks::modulesInstalled function core/modules/layout_builder/tests/modules/layout_builder_block_content_dependency_test/src/Hook/LayoutBuilderBlockContentDependencyTestThemeHooks.php Implements hook_modules_installed().
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.
LayoutBuilderExposeAllFieldBlocksHooks class core/modules/layout_builder/modules/layout_builder_expose_all_field_blocks/src/Hook/LayoutBuilderExposeAllFieldBlocksHooks.php Hook implementations for layout_builder_expose_all_field_blocks.
LayoutBuilderExposeAllFieldBlocksHooks.php file core/modules/layout_builder/modules/layout_builder_expose_all_field_blocks/src/Hook/LayoutBuilderExposeAllFieldBlocksHooks.php
LayoutBuilderExposeAllFieldBlocksHooks::help function core/modules/layout_builder/modules/layout_builder_expose_all_field_blocks/src/Hook/LayoutBuilderExposeAllFieldBlocksHooks.php Implements hook_help().
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 install.
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.
LayoutBuilderFormBlockTestHooks class core/modules/layout_builder/tests/modules/layout_builder_form_block_test/src/Hook/LayoutBuilderFormBlockTestHooks.php Hooks for layout_builder_form_block_test.
LayoutBuilderFormBlockTestHooks.php file core/modules/layout_builder/tests/modules/layout_builder_form_block_test/src/Hook/LayoutBuilderFormBlockTestHooks.php
LayoutBuilderFormBlockTestHooks::blockAlter function core/modules/layout_builder/tests/modules/layout_builder_form_block_test/src/Hook/LayoutBuilderFormBlockTestHooks.php Implements hook_block_alter().
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.
LayoutBuilderHooks::blockContentAccess function core/modules/layout_builder/src/Hook/LayoutBuilderHooks.php Implements hook_ENTITY_TYPE_access().
LayoutBuilderHooks::pluginFilterBlockAlter function core/modules/layout_builder/src/Hook/LayoutBuilderHooks.php Implements hook_plugin_filter_TYPE_alter().
LayoutBuilderHooks::pluginFilterBlockBlockUiAlter function core/modules/layout_builder/src/Hook/LayoutBuilderHooks.php Implements hook_plugin_filter_TYPE__CONSUMER_alter().
LayoutBuilderHooks::pluginFilterBlockLayoutBuilderAlter function core/modules/layout_builder/src/Hook/LayoutBuilderHooks.php Implements hook_plugin_filter_TYPE__CONSUMER_alter().
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.
LayoutBuilderTest::openAddBlockForm function core/modules/layout_builder/tests/src/FunctionalJavascript/LayoutBuilderTest.php Opens the add block form in the off-canvas dialog.
LayoutBuilderTestFormHooks::formLayoutBuilderConfigureBlockAlter function core/modules/layout_builder/tests/modules/layout_builder_test/src/Hook/LayoutBuilderTestFormHooks.php Implements hook_form_BASE_FORM_ID_alter() for layout_builder_configure_block.
LayoutBuilderTestPluginHooks::pluginFilterBlockLayoutBuilderAlter function core/modules/layout_builder/tests/modules/layout_builder_test/src/Hook/LayoutBuilderTestPluginHooks.php Implements hook_plugin_filter_TYPE__CONSUMER_alter().
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[[api-linebreak]]
LayoutEntityHelperTraitTest::testGetInlineBlockRevisionIdsInSections function core/modules/layout_builder/tests/src/Unit/LayoutEntityHelperTraitTest.php @covers ::getInlineBlockRevisionIdsInSections[[api-linebreak]]
layout_builder.render_block_component_subscriber service core/modules/layout_builder/layout_builder.services.yml Drupal\layout_builder\EventSubscriber\BlockComponentRenderArray
layout_builder_block_content_dependency_test.info.yml file core/modules/layout_builder/tests/modules/layout_builder_block_content_dependency_test/layout_builder_block_content_dependency_test.info.yml core/modules/layout_builder/tests/modules/layout_builder_block_content_dependency_test/layout_builder_block_content_dependency_test.info.yml
layout_builder_expose_all_field_blocks.info.yml file core/modules/layout_builder/modules/layout_builder_expose_all_field_blocks/layout_builder_expose_all_field_blocks.info.yml core/modules/layout_builder/modules/layout_builder_expose_all_field_blocks/layout_builder_expose_all_field_blocks.info.yml
layout_builder_field_block_test.fake_view_mode_context service core/modules/layout_builder/tests/modules/layout_builder_field_block_test/layout_builder_field_block_test.services.yml Drupal\layout_builder_field_block_test\ContextProvider\FakeViewModeContext
layout_builder_field_block_test.info.yml file core/modules/layout_builder/tests/modules/layout_builder_field_block_test/layout_builder_field_block_test.info.yml core/modules/layout_builder/tests/modules/layout_builder_field_block_test/layout_builder_field_block_test.info.yml
layout_builder_field_block_test.schema.yml file core/modules/layout_builder/tests/modules/layout_builder_field_block_test/config/schema/layout_builder_field_block_test.schema.yml core/modules/layout_builder/tests/modules/layout_builder_field_block_test/config/schema/layout_builder_field_block_test.schema.yml

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