You are here

public function BrightcovePlaylistListBuilder::__construct in Brightcove Video Connect 3.x

Same name and namespace in other branches
  1. 8.2 src/BrightcovePlaylistListBuilder.php \Drupal\brightcove\BrightcovePlaylistListBuilder::__construct()
  2. 8 src/BrightcovePlaylistListBuilder.php \Drupal\brightcove\BrightcovePlaylistListBuilder::__construct()

Constructor.

Parameters

\Drupal\Core\Entity\EntityTypeInterface $entity_type: Entity type.

\Drupal\Core\Entity\EntityStorageInterface $storage: Entity Storage.

\Drupal\Core\Session\AccountProxy $account_proxy: Account proxy.

\Drupal\Core\Datetime\DateFormatter $date_formatter: Date formatter.

Overrides EntityListBuilder::__construct

File

src/BrightcovePlaylistListBuilder.php, line 49

Class

BrightcovePlaylistListBuilder
Defines a class to build a listing of Brightcove Playlists.

Namespace

Drupal\brightcove

Code

public function __construct(EntityTypeInterface $entity_type, EntityStorageInterface $storage, AccountProxy $account_proxy, DateFormatter $date_formatter) {
  parent::__construct($entity_type, $storage);
  $this->accountProxy = $account_proxy;
  $this->dateFormatter = $date_formatter;
}