You are here

public function MessageSettingsForm::__construct in Message 8

Constructs a \Drupal\system\ConfigFormBase object.

Parameters

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

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

\Drupal\message\MessagePurgePluginManager $purge_manager: The message purge plugin manager service.

Overrides ConfigFormBase::__construct

File

src/Form/MessageSettingsForm.php, line 76

Class

MessageSettingsForm
Configure file system settings for this site.

Namespace

Drupal\message\Form

Code

public function __construct(ConfigFactoryInterface $config_factory, EntityTypeManagerInterface $entity_type_manager, MessagePurgePluginManager $purge_manager) {
  parent::__construct($config_factory);
  $this->entityTypeManager = $entity_type_manager;
  $this->purgeManager = $purge_manager;
}