You are here

service content_lock in Content locking (anti-concurrent editing) 8

Same name and namespace in other branches
  1. 8.2 content_lock.services.yml \content_lock

Class

Drupal\content_lock\ContentLock\ContentLock
22 string references to content_lock
BreakLock::create in src/Plugin/Action/BreakLock.php
Creates an instance of the plugin.
ContentLock::fetchLock in src/ContentLock/ContentLock.php
Fetch the lock for an entity.
ContentLockController::create in src/Controller/ContentLockController.php
Instantiates a new instance of this class.
ContentLockModesTest::testDisabledForSelectedFormModes in tests/src/Functional/ContentLockModesTest.php
Test simultaneous edit on test entity.
ContentLockModesTest::testEnabledForSelectedFormModes in tests/src/Functional/ContentLockModesTest.php
Test simultaneous edit on test entity.

... See full list

File

./content_lock.services.yml
content_lock.services.yml

View source
  1. class: Drupal\content_lock\ContentLock\ContentLock
  2. arguments:
  3. - '@database'
  4. - '@module_handler'
  5. - '@date.formatter'
  6. - '@current_user'
  7. - '@config.factory'
  8. - '@request_stack'
  9. - '@entity_type.manager'
  10. - '@messenger'