You are here

public function BlocktabsFormBase::__construct in Block Tabs 8

Constructs a base class for blocktabs add and edit forms.

Parameters

\Drupal\Core\Entity\EntityStorageInterface $entity_storage: The block tabs entity storage.

1 call to BlocktabsFormBase::__construct()
BlocktabsEditForm::__construct in src/Form/BlocktabsEditForm.php
Constructs an BlockTabsEditForm object.
1 method overrides BlocktabsFormBase::__construct()
BlocktabsEditForm::__construct in src/Form/BlocktabsEditForm.php
Constructs an BlockTabsEditForm object.

File

src/Form/BlocktabsFormBase.php, line 35

Class

BlocktabsFormBase
Base form for blocktabs add and edit forms.

Namespace

Drupal\blocktabs\Form

Code

public function __construct(EntityStorageInterface $entity_storage) {
  $this->entityStorage = $entity_storage;
}