You are here

public function PostUpdateSubscriber::__construct in Automatic Updates 8

PostUpdateSubscriber constructor.

Parameters

\Drupal\Core\Config\ConfigFactoryInterface $config_factory: The config factory.

\Drupal\Core\Mail\MailManagerInterface $mail_manager: The mail manager.

\Drupal\Core\Language\LanguageManagerInterface $language_manager: The language manager.

\Drupal\Core\Entity\EntityTypeManagerInterface $entity_type_manager: Entity type manager.

File

src/EventSubscriber/PostUpdateSubscriber.php, line 60

Class

PostUpdateSubscriber
Post update event subscriber.

Namespace

Drupal\automatic_updates\EventSubscriber

Code

public function __construct(ConfigFactoryInterface $config_factory, MailManagerInterface $mail_manager, LanguageManagerInterface $language_manager, EntityTypeManagerInterface $entity_type_manager) {
  $this->configFactory = $config_factory;
  $this->mailManager = $mail_manager;
  $this->languageManager = $language_manager;
  $this->entityTypeManager = $entity_type_manager;
}