You are here

public function EntityBrowserBlockDeriver::__construct in Entity Browser Block 8

Constructs a EntityBrowserBlockDeriver object.

Parameters

\Drupal\Core\Entity\EntityStorageInterface $browser_storage: The browser storage.

File

src/Plugin/Derivative/EntityBrowserBlockDeriver.php, line 28

Class

EntityBrowserBlockDeriver
Retrieves block plugin definitions for all entity browsers.

Namespace

Drupal\entity_browser_block\Plugin\Derivative

Code

public function __construct(EntityStorageInterface $browser_storage) {
  $this->browserStorage = $browser_storage;
}