service content_lock in Content locking (anti-concurrent editing) 8.2
Same name and namespace in other branches
- 8 content_lock.services.yml \content_lock
Class
Drupal\content_lock\ContentLock\ContentLock23 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.
File
View source
- class: Drupal\content_lock\ContentLock\ContentLock
- arguments:
- - '@database'
- - '@module_handler'
- - '@date.formatter'
- - '@current_user'
- - '@config.factory'
- - '@request_stack'
- - '@entity_type.manager'
- - '@messenger'
- - '@datetime.time'