You are here

public function LoginDestinationRuleForm::__construct in Login Destination 8

Same name and namespace in other branches
  1. 8.2 src/Form/LoginDestinationRuleForm.php \Drupal\login_destination\Form\LoginDestinationRuleForm::__construct()

Constructs a base class for login destination add and edit forms.

Parameters

\Drupal\Core\Entity\EntityStorageInterface $login_destination_storage: The login destination entity storage.

File

src/Form/LoginDestinationRuleForm.php, line 34

Class

LoginDestinationRuleForm
Base for controller for login destination add/edit forms.

Namespace

Drupal\login_destination\Form

Code

public function __construct(EntityStorageInterface $login_destination_storage) {
  $this->loginDestinationStorage = $login_destination_storage;
}