public function FancyLoginRefreshPageCommand::render in Fancy Login 3.0.x
Same name and namespace in other branches
- 8.2 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\AjaxCode
public function render() {
return [
'command' => 'fancyLoginRefreshPage',
'closePopup' => $this->closePopup,
];
}