You are here

public function FancyLoginClosePopupCommand::render in Fancy Login 3.0.x

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

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

Overrides CommandInterface::render

File

src/Ajax/FancyLoginClosePopupCommand.php, line 15

Class

FancyLoginClosePopupCommand
Defines the popup ajax command.

Namespace

Drupal\fancy_login\Ajax

Code

public function render() {
  return [
    'command' => 'fancyLoginClosePopup',
  ];
}