Search for lock

  1. Search 7.x for lock
  2. Search 8.9.x for lock
  3. Search 10.3.x for lock
  4. Search 11.x for lock
  5. Other projects

Exact matches

These are exact matches according to your search
Title Object type File name Summary
lock service core/core.services.yml Drupal\Core\Lock\DatabaseLockBackend
Lock class core/lib/Drupal/Core/TempStore/Lock.php Provides a value object representing the lock from a TempStore.

All search results

Title Object type File name Summary
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
LanguageInterface::isLocked function core/lib/Drupal/Core/Language/LanguageInterface.php Returns whether this language is locked.
LanguageInterface::STATE_LOCKED constant core/lib/Drupal/Core/Language/LanguageInterface.php The language state when referring to locked languages.
LanguageManager::getDefaultLockedLanguages function core/lib/Drupal/Core/Language/LanguageManager.php Returns a list of the default locked languages.
LanguageManager::isLanguageLocked function core/lib/Drupal/Core/Language/LanguageManager.php Checks whether a language is locked.
LanguageManagerInterface::getDefaultLockedLanguages function core/lib/Drupal/Core/Language/LanguageManagerInterface.php Returns a list of the default locked languages.
LanguageManagerInterface::isLanguageLocked function core/lib/Drupal/Core/Language/LanguageManagerInterface.php Checks whether a language is locked.
LanguageSelectWidgetTest::testWithIncludedLockedLanguage function core/modules/language/tests/src/Kernel/LanguageSelectWidgetTest.php Tests the widget with the locked languages.
LanguageSelectWidgetTest::testWithoutIncludedLockedLanguage function core/modules/language/tests/src/Kernel/LanguageSelectWidgetTest.php Tests the widget without the locked languages.
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]]

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