You are here

public function ModuleMissingMessageFixerForm::__construct in Module Missing Message Fixer 8

Same name and namespace in other branches
  1. 2.0.x src/Form/ModuleMissingMessageFixerForm.php \Drupal\module_missing_message_fixer\Form\ModuleMissingMessageFixerForm::__construct()

Constructs a new ModuleMissingMessageFixerForm.

Parameters

\Drupal\Core\Database\Connection $connection: The database connection.

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

\Drupal\Core\Messenger\MessengerInterface $messenger: The messenger service.

\Drupal\module_missing_message_fixer\ModuleMissingMessageFixer $mmmf: The mmmf service.

File

src/Form/ModuleMissingMessageFixerForm.php, line 60

Class

ModuleMissingMessageFixerForm
Class ModuleMissingMessageFixerForm.

Namespace

Drupal\module_missing_message_fixer\Form

Code

public function __construct(Connection $connection, ConfigFactoryInterface $config_factory, MessengerInterface $messenger, ModuleMissingMessageFixer $mmmf) {
  $this->connection = $connection;
  $this->configFactory = $config_factory;
  $this->messenger = $messenger;
  $this->mmmf = $mmmf;
}