You are here

public function BrightcoveAPIClientForm::__construct in Brightcove Video Connect 8

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

Constructs a new BrightcoveAPIClientForm.

Parameters

\Drupal\Core\Config\Config $config: The config for brightcove.settings.

\Drupal\Core\Entity\EntityStorageInterface $player_storage: Player entity storage.

\Drupal\Core\Queue\QueueInterface $player_queue: Player queue.

\Drupal\Core\Queue\QueueInterface $custom_field_queue: Custom field queue.

\Drupal\Core\Queue\QueueInterface $subscriptions_queue: Custom field queue.

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

\Drupal\Core\KeyValueStore\KeyValueStoreExpirableInterface $key_value_expirable_store: Key/Value expirable store for "brightcove_access_token".

File

src/Form/BrightcoveAPIClientForm.php, line 96

Class

BrightcoveAPIClientForm
Class BrightcoveAPIClientForm.

Namespace

Drupal\brightcove\Form

Code

public function __construct(Config $config, EntityStorageInterface $player_storage, QueueInterface $player_queue, QueueInterface $custom_field_queue, QueueInterface $subscriptions_queue, QueryFactory $query_factory, KeyValueStoreExpirableInterface $key_value_expirable_store) {
  $this->config = $config;
  $this->playerStorage = $player_storage;
  $this->playerQueue = $player_queue;
  $this->customFieldQueue = $custom_field_queue;
  $this->subscriptionsQueue = $subscriptions_queue;
  $this->queryFactory = $query_factory;
  $this->keyValueExpirableStore = $key_value_expirable_store;
}