You are here

public function BrightcoveAPIClientDeleteForm::__construct in Brightcove Video Connect 8

Same name and namespace in other branches
  1. 8.2 src/Form/BrightcoveAPIClientDeleteForm.php \Drupal\brightcove\Form\BrightcoveAPIClientDeleteForm::__construct()
  2. 3.x src/Form/BrightcoveAPIClientDeleteForm.php \Drupal\brightcove\Form\BrightcoveAPIClientDeleteForm::__construct()

Constructs a new BrightcoveAPIClientDeleteForm.

Parameters

\Drupal\Core\Entity\Query\QueryFactory $query_factory: Query factory.

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

\Drupal\Core\Queue\QueueInterface $playlist_local_delete_queue: Playlist local delete queue worker.

\Drupal\Core\Queue\QueueInterface $video_local_delete_queue: Video local delete queue worker.

\Drupal\Core\Queue\QueueInterface $player_delete_queue: Player local delete queue worker.

\Drupal\Core\Queue\QueueInterface $custom_field_delete_queue: Custom field local delete queue worker.

\Drupal\Core\Queue\QueueInterface $text_track_delete_queue: Text track delete queue object.

\Drupal\Core\Queue\QueueInterface $subscription_delete_queue: Subscription delete queue object.

File

src/Form/BrightcoveAPIClientDeleteForm.php, line 96

Class

BrightcoveAPIClientDeleteForm
Builds the form to delete Brightcove API Client entities.

Namespace

Drupal\brightcove\Form

Code

public function __construct(QueryFactory $query_factory, Connection $connection, QueueInterface $playlist_local_delete_queue, QueueInterface $video_local_delete_queue, QueueInterface $player_delete_queue, QueueInterface $custom_field_delete_queue, QueueInterface $text_track_delete_queue, QueueInterface $subscription_delete_queue) {
  $this->queryFactory = $query_factory;
  $this->connection = $connection;
  $this->playlistLocalDeleteQueue = $playlist_local_delete_queue;
  $this->videoLocalDeleteQueue = $video_local_delete_queue;
  $this->playerDeleteQueue = $player_delete_queue;
  $this->customFieldDeleteQueue = $custom_field_delete_queue;
  $this->textTrackDeleteQueue = $text_track_delete_queue;
  $this->subscriptionDeleteQueue = $subscription_delete_queue;
}