Search for lock

  1. Search 7.x for lock
  2. Search 9.5.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
BlockContentModerationHandler::enforceRevisionsBundleFormAlter function core/modules/content_moderation/src/Entity/Handler/BlockContentModerationHandler.php Alters bundle forms to enforce revision handling.
BlockContentModerationHandler::enforceRevisionsEntityFormAlter function core/modules/content_moderation/src/Entity/Handler/BlockContentModerationHandler.php Alters entity forms to enforce revision handling.
BlockContentPageViewTest class core/modules/block_content/tests/src/Functional/BlockContentPageViewTest.php Create a block and test block access by attempting to view the block.
BlockContentPageViewTest.php file core/modules/block_content/tests/src/Functional/BlockContentPageViewTest.php
BlockContentPageViewTest::$defaultTheme property core/modules/block_content/tests/src/Functional/BlockContentPageViewTest.php The theme to install as the default for testing.
BlockContentPageViewTest::$modules property core/modules/block_content/tests/src/Functional/BlockContentPageViewTest.php Modules to enable.
BlockContentPageViewTest::testPageEdit function core/modules/block_content/tests/src/Functional/BlockContentPageViewTest.php Checks block edit and fallback functionality.
BlockContentRedirectTest class core/modules/block_content/tests/src/Functional/Views/BlockContentRedirectTest.php Tests the redirect destination on block content on entity operations.
BlockContentRedirectTest.php file core/modules/block_content/tests/src/Functional/Views/BlockContentRedirectTest.php
BlockContentRedirectTest::$defaultTheme property core/modules/block_content/tests/src/Functional/Views/BlockContentRedirectTest.php The theme to install as the default for testing.
BlockContentRedirectTest::$modules property core/modules/block_content/tests/src/Functional/Views/BlockContentRedirectTest.php Modules to enable.
BlockContentRedirectTest::$testViews property core/modules/block_content/tests/src/Functional/Views/BlockContentRedirectTest.php Views used by this test.
BlockContentRedirectTest::testRedirectDestination function core/modules/block_content/tests/src/Functional/Views/BlockContentRedirectTest.php Tests the redirect destination when editing block content.
BlockContentResourceTestBase class core/modules/block_content/tests/src/Functional/Rest/BlockContentResourceTestBase.php ResourceTestBase for BlockContent entity.
BlockContentResourceTestBase class core/modules/rest/tests/src/Functional/EntityResource/BlockContent/BlockContentResourceTestBase.php
BlockContentResourceTestBase.php file core/modules/rest/tests/src/Functional/EntityResource/BlockContent/BlockContentResourceTestBase.php
BlockContentResourceTestBase.php file core/modules/block_content/tests/src/Functional/Rest/BlockContentResourceTestBase.php
BlockContentResourceTestBase::$entity property core/modules/block_content/tests/src/Functional/Rest/BlockContentResourceTestBase.php
BlockContentResourceTestBase::$entityTypeId property core/modules/block_content/tests/src/Functional/Rest/BlockContentResourceTestBase.php The tested entity type.
BlockContentResourceTestBase::$modules property core/modules/block_content/tests/src/Functional/Rest/BlockContentResourceTestBase.php Modules to install.
BlockContentResourceTestBase::$patchProtectedFieldNames property core/modules/block_content/tests/src/Functional/Rest/BlockContentResourceTestBase.php The fields that are protected against modification during PATCH requests.
BlockContentResourceTestBase::createEntity function core/modules/block_content/tests/src/Functional/Rest/BlockContentResourceTestBase.php Creates the entity to be tested.
BlockContentResourceTestBase::getExpectedCacheContexts function core/modules/block_content/tests/src/Functional/Rest/BlockContentResourceTestBase.php The expected cache contexts for the GET/HEAD response of the test entity.
BlockContentResourceTestBase::getExpectedCacheTags function core/modules/block_content/tests/src/Functional/Rest/BlockContentResourceTestBase.php The expected cache tags for the GET/HEAD response of the test entity.
BlockContentResourceTestBase::getExpectedNormalizedEntity function core/modules/block_content/tests/src/Functional/Rest/BlockContentResourceTestBase.php Returns the expected normalization of the entity.
BlockContentResourceTestBase::getExpectedUnauthorizedAccessMessage function core/modules/block_content/tests/src/Functional/Rest/BlockContentResourceTestBase.php Return the expected error message.
BlockContentResourceTestBase::getExpectedUnauthorizedEntityAccessCacheability function core/modules/block_content/tests/src/Functional/Rest/BlockContentResourceTestBase.php The cacheability of unauthorized 'view' entity access.
BlockContentResourceTestBase::getNormalizedPostEntity function core/modules/block_content/tests/src/Functional/Rest/BlockContentResourceTestBase.php Returns the normalized POST entity.
BlockContentResourceTestBase::setUpAuthorization function core/modules/block_content/tests/src/Functional/Rest/BlockContentResourceTestBase.php Sets up the necessary authorization.
BlockContentReusableUpdateTest class core/modules/block_content/tests/src/Functional/Update/BlockContentReusableUpdateTest.php Tests 'reusable' field related update functions for the Block Content module.
BlockContentReusableUpdateTest.php file core/modules/block_content/tests/src/Functional/Update/BlockContentReusableUpdateTest.php
BlockContentReusableUpdateTest::setDatabaseDumpFiles function core/modules/block_content/tests/src/Functional/Update/BlockContentReusableUpdateTest.php Set database dump files to be used.
BlockContentReusableUpdateTest::testReusableFieldAddition function core/modules/block_content/tests/src/Functional/Update/BlockContentReusableUpdateTest.php Tests adding 'reusable' entity base field to the block content entity type.
BlockContentReusableUpdateTest::testReusableFieldAdditionWithoutViews function core/modules/block_content/tests/src/Functional/Update/BlockContentReusableUpdateTest.php Tests that the update succeeds even if Views is not installed.
BlockContentRevisionsTest class core/modules/block_content/tests/src/Functional/BlockContentRevisionsTest.php Create a block with revisions.
BlockContentRevisionsTest.php file core/modules/block_content/tests/src/Functional/BlockContentRevisionsTest.php
BlockContentRevisionsTest::$blocks property core/modules/block_content/tests/src/Functional/BlockContentRevisionsTest.php Stores blocks created during the test.
BlockContentRevisionsTest::$defaultTheme property core/modules/block_content/tests/src/Functional/BlockContentRevisionsTest.php The theme to install as the default for testing.
BlockContentRevisionsTest::$revisionLogs property core/modules/block_content/tests/src/Functional/BlockContentRevisionsTest.php Stores log messages used during the test.
BlockContentRevisionsTest::setUp function core/modules/block_content/tests/src/Functional/BlockContentRevisionsTest.php Sets the test up.
BlockContentRevisionsTest::testRevisions function core/modules/block_content/tests/src/Functional/BlockContentRevisionsTest.php Checks block revision related operations.
BlockContentSaveTest class core/modules/block_content/tests/src/Functional/BlockContentSaveTest.php Tests $block_content->save() for saving content.
BlockContentSaveTest.php file core/modules/block_content/tests/src/Functional/BlockContentSaveTest.php
BlockContentSaveTest::$defaultTheme property core/modules/block_content/tests/src/Functional/BlockContentSaveTest.php The theme to install as the default for testing.
BlockContentSaveTest::$modules property core/modules/block_content/tests/src/Functional/BlockContentSaveTest.php Modules to enable.
BlockContentSaveTest::setUp function core/modules/block_content/tests/src/Functional/BlockContentSaveTest.php Sets the test up.
BlockContentSaveTest::testBlockContentSaveOnInsert function core/modules/block_content/tests/src/Functional/BlockContentSaveTest.php Tests saving a block on block insert.
BlockContentSaveTest::testDeterminingChanges function core/modules/block_content/tests/src/Functional/BlockContentSaveTest.php Tests determining changes in hook_block_presave().
BlockContentSaveTest::testImport function core/modules/block_content/tests/src/Functional/BlockContentSaveTest.php Checks whether custom block IDs are saved properly during an import.
BlockContentTest class core/modules/jsonapi/tests/src/Functional/BlockContentTest.php JSON:API integration test for the "BlockContent" content entity type.

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