You are here

public function PrivateMessageCommands::__construct in Private Message 8.2

Constructs a object.

Parameters

\Drupal\private_message\Service\PrivateMessageService $privateMessageService: The private message service.

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

File

src/Commands/PrivateMessageCommands.php, line 47

Class

PrivateMessageCommands
Creates Drush commands for the Private Message module.

Namespace

Drupal\private_message\Commands

Code

public function __construct(PrivateMessageService $privateMessageService, EntityTypeManagerInterface $entityTypeManager) {
  parent::__construct();
  $this->privateMessageService = $privateMessageService;
  $this->entityTypeManager = $entityTypeManager;
}