public function LayoutParagraphsStateResetCommand::render in Layout Paragraphs 1.0.x
Render custom ajax command.
Return value
ajax Command function.
Overrides CommandInterface::render
File
- src/
Ajax/ LayoutParagraphsStateResetCommand.php, line 32
Class
- LayoutParagraphsStateResetCommand
- Class LayoutParagraphsStateResetCommand.
Namespace
Drupal\layout_paragraphs\AjaxCode
public function render() {
return [
'command' => 'resetLayoutParagraphsState',
'data' => [
"id" => $this->id,
],
];
}