public function LoginDestinationRuleForm::__construct in Login Destination 8.2
Same name and namespace in other branches
- 8 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.
\Drupal\Core\Language\LanguageManagerInterface $language_manager: The language manager.
File
- src/
Form/ LoginDestinationRuleForm.php, line 43
Class
- LoginDestinationRuleForm
- Base for controller for login destination add/edit forms.
Namespace
Drupal\login_destination\FormCode
public function __construct(EntityStorageInterface $login_destination_storage, LanguageManagerInterface $language_manager) {
$this->loginDestinationStorage = $login_destination_storage;
$this->languageManager = $language_manager;
}