You are here

public function BrightcoveVideoPlaylistForm::__construct in Brightcove Video Connect 8

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

Constructs a ContentEntityForm object.

Parameters

\Drupal\Core\Entity\EntityManagerInterface $entity_manager: The entity manager.

string $defaultAPIClient: The default API Client.

Overrides ContentEntityForm::__construct

File

src/Form/BrightcoveVideoPlaylistForm.php, line 34

Class

BrightcoveVideoPlaylistForm
Base form controller for Video and Playlist forms.

Namespace

Drupal\brightcove\Form

Code

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