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. |
language_preprocess_block |
function |
core/modules/language/language.module |
Implements hook_preprocess_HOOK() for block templates. |
LayoutBuilderBlockContentDependencyTest |
class |
core/modules/layout_builder/tests/src/Kernel/LayoutBuilderBlockContentDependencyTest.php |
Test for installing Layout Builder before Block Content in the same request. |
LayoutBuilderBlockContentDependencyTest.php |
file |
core/modules/layout_builder/tests/src/Kernel/LayoutBuilderBlockContentDependencyTest.php |
|
LayoutBuilderBlockContentDependencyTest::testInstallLayoutBuilderAndBlockContent |
function |
core/modules/layout_builder/tests/src/Kernel/LayoutBuilderBlockContentDependencyTest.php |
Test that block_content can be successfully installed after layout_builder. |
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(). |