You are here

public function FancyLoginRefreshPageCommand::render in Fancy Login 8.2

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

Return an array to be run through json_encode and sent to the client.

Overrides CommandInterface::render

File

src/Ajax/FancyLoginRefreshPageCommand.php, line 33

Class

FancyLoginRefreshPageCommand
Defines the refresh page ajax command.

Namespace

Drupal\fancy_login\Ajax

Code

public function render() {
  return [
    'command' => 'fancyLoginRefreshPage',
    'closePopup' => $this->closePopup,
  ];
}