class ReloadCommand in Flexiform 8
Provides the reload AJAX command.
Hierarchy
- class \Drupal\flexiform\Ajax\ReloadCommand implements CommandInterface
Expanded class hierarchy of ReloadCommand
1 file declares its use of ReloadCommand
- SubmitButtonAjax.php in src/
Plugin/ FormEnhancer/ SubmitButtonAjax.php
File
- src/
Ajax/ ReloadCommand.php, line 10
Namespace
Drupal\flexiform\AjaxView source
class ReloadCommand implements CommandInterface {
/**
* {@inheritdoc}
*/
public function render() {
return [
'command' => 'reload',
];
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
ReloadCommand:: |
public | function |
Return an array to be run through json_encode and sent to the client. Overrides CommandInterface:: |