You are here

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

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

Constructs a new UserSelection object.

Parameters

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

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

File

src/ModuleMissingMessageFixer.php, line 38

Class

ModuleMissingMessageFixer
Class ModuleMissingMessageFixer.

Namespace

Drupal\module_missing_message_fixer

Code

public function __construct(Connection $connection, MessengerInterface $messenger) {
  $this->connection = $connection;
  $this->messenger = $messenger;
}