You are here

public function ContentLockController::__construct in Content locking (anti-concurrent editing) 8.2

Same name and namespace in other branches
  1. 8 src/Controller/ContentLockController.php \Drupal\content_lock\Controller\ContentLockController::__construct()

EntityBreakLockForm constructor.

Parameters

\Drupal\content_lock\ContentLock\ContentLock $lock_service: Content lock service.

File

src/Controller/ContentLockController.php, line 36

Class

ContentLockController
Class ContentLockController.

Namespace

Drupal\content_lock\Controller

Code

public function __construct(ContentLock $lock_service) {
  $this->lockService = $lock_service;
}