public function FancyLoginLoadFormCommand::render in Fancy Login 8.2
Same name and namespace in other branches
- 3.0.x src/Ajax/FancyLoginLoadFormCommand.php \Drupal\fancy_login\Ajax\FancyLoginLoadFormCommand::render()
Return an array to be run through json_encode and sent to the client.
Overrides CommandInterface::render
File
- src/
Ajax/ FancyLoginLoadFormCommand.php, line 29
Class
- FancyLoginLoadFormCommand
- Defines the load form ajax command.
Namespace
Drupal\fancy_login\AjaxCode
public function render() {
return [
'command' => 'fancyLoginLoadFormCommand',
'form' => render($this->form),
];
}