You are here

public function FancyLoginRefreshPageCommand::__construct in Fancy Login 3.0.x

Same name and namespace in other branches
  1. 8.2 src/Ajax/FancyLoginRefreshPageCommand.php \Drupal\fancy_login\Ajax\FancyLoginRefreshPageCommand::__construct()

Constructs a FancyLoginRefreshPageCommand object.

Parameters

bool $closePopup: A boolean indicating whether or not the popup should be closed before refreshing.

File

src/Ajax/FancyLoginRefreshPageCommand.php, line 26

Class

FancyLoginRefreshPageCommand
Defines the refresh page ajax command.

Namespace

Drupal\fancy_login\Ajax

Code

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