You are here

public function KeyFormBase::__construct in Key 8

Constructs a new key form base.

Parameters

\Drupal\Core\Config\Entity\ConfigEntityStorageInterface $storage: The key storage.

File

src/Form/KeyFormBase.php, line 39

Class

KeyFormBase
Base form for key add and edit forms.

Namespace

Drupal\key\Form

Code

public function __construct(ConfigEntityStorageInterface $storage) {
  $this->storage = $storage;
}