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. Search main for _block
  6. Other projects
Title Object type File name Summary
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 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[[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_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

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