You are here

public function ContentLockSettingsForm::__construct in Content locking (anti-concurrent editing) 8

Same name and namespace in other branches
  1. 8.2 src/Form/ContentLockSettingsForm.php \Drupal\content_lock\Form\ContentLockSettingsForm::__construct()

Constructs a \Drupal\system\ConfigFormBase object.

Parameters

\Drupal\Core\Config\ConfigFactoryInterface $config_factory: The factory for configuration objects.

Overrides ConfigFormBase::__construct

File

src/Form/ContentLockSettingsForm.php, line 39

Class

ContentLockSettingsForm
Class ContentLockSettingsForm.

Namespace

Drupal\content_lock\Form

Code

public function __construct(ConfigFactoryInterface $config_factory, EntityTypeManagerInterface $entityTypeManager, ModuleHandlerInterface $module_handler) {
  parent::__construct($config_factory);
  $this->entityTypeManager = $entityTypeManager;
  $this->moduleHandler = $module_handler;
}