You are here

public function PushNotificationForm::__construct in Push Notifications 8

PushNotificationForm constructor.

Parameters

\Drupal\Core\Entity\EntityManagerInterface $entity_manager:

\Drupal\push_notifications\PushNotificationsTokenQuery $token_query:

Overrides ContentEntityForm::__construct

File

src/Form/PushNotificationForm.php, line 47
Contains Drupal\push_notifications\Form\PushNotificationForm.

Class

PushNotificationForm
Form controller for the push_notification entity edit forms.

Namespace

Drupal\push_notifications\Form

Code

public function __construct(EntityManagerInterface $entity_manager, PushNotificationsTokenQuery $token_query) {
  parent::__construct($entity_manager);
  $this->token_query = $token_query;
}