public function FancyLoginRedirectCommand::__construct in Fancy Login 3.0.x
Same name and namespace in other branches
- 8.2 src/Ajax/FancyLoginRedirectCommand.php \Drupal\fancy_login\Ajax\FancyLoginRedirectCommand::__construct()
Constructs a FancyLoginRedirectCommand object.
Parameters
bool $closePopup: A boolean indicating whether or not the popup should be closed before redirecting.
string $destination: The redirect destination.
File
- src/
Ajax/ FancyLoginRedirectCommand.php, line 35
Class
- FancyLoginRedirectCommand
- Defines the redirect command.
Namespace
Drupal\fancy_login\AjaxCode
public function __construct($closePopup, $destination) {
$this->closePopup = $closePopup;
$this->destination = $destination;
}