public function VLMAppendCommand::render in Views Load More 8
Same name and namespace in other branches
- 2.x src/Ajax/VLMAppendCommand.php \Drupal\views_load_more\Ajax\VLMAppendCommand::render()
Implements \Drupal\Core\Ajax\CommandInterface::render().
Overrides CommandInterface::render
File
- src/
Ajax/ VLMAppendCommand.php, line 74 - Contains \Drupal\views_load_more\Ajax\VLMAppendCommand.
Class
- VLMAppendCommand
- Provides an AJAX command for appending new rows in a paged AJAX response to the rows on the page.
Namespace
Drupal\views_load_more\AjaxCode
public function render() {
return array(
'command' => 'viewsLoadMoreAppend',
'data' => $this
->getRenderedContent(),
'options' => $this->options,
);
}