You are here

public function BlocktabsEditForm::__construct in Block Tabs 8

Constructs an BlockTabsEditForm object.

Parameters

\Drupal\Core\Entity\EntityStorageInterface $entity_storage: The storage.

\Drupal\blocktabs\TabManager $tab_manager: The tab manager service.

Overrides BlocktabsFormBase::__construct

File

src/Form/BlocktabsEditForm.php, line 32

Class

BlocktabsEditForm
Controller for blocktabs edit form.

Namespace

Drupal\blocktabs\Form

Code

public function __construct(EntityStorageInterface $entity_storage, TabManager $tab_manager) {
  parent::__construct($entity_storage);
  $this->tabManager = $tab_manager;
}