public function SettingsSaveEventSubscriber::__construct in Content locking (anti-concurrent editing) 8
Same name and namespace in other branches
- 8.2 src/EventSubscriber/SettingsSaveEventSubscriber.php \Drupal\content_lock\EventSubscriber\SettingsSaveEventSubscriber::__construct()
SettingsSaveEventSubscriber constructor.
Parameters
\Drupal\Core\Entity\EntityTypeManagerInterface $entity_type_manager: The entity type manager service.
File
- src/
EventSubscriber/ SettingsSaveEventSubscriber.php, line 23
Class
- SettingsSaveEventSubscriber
- Class acts on config save event.
Namespace
Drupal\content_lock\EventSubscriberCode
public function __construct(EntityTypeManagerInterface $entity_type_manager) {
$this->entityTypeManager = $entity_type_manager;
}