public function LayoutParagraphsEventCommand::render in Layout Paragraphs 2.0.x
Render custom ajax command.
Return value
array The command array.
Overrides CommandInterface::render
File
- src/
Ajax/ LayoutParagraphsEventCommand.php, line 48
Class
- LayoutParagraphsEventCommand
- Class ExampleCommand.
Namespace
Drupal\layout_paragraphs\AjaxCode
public function render() {
return [
'command' => 'LayoutParagraphsEventCommand',
'layoutId' => $this->layout
->id(),
'componentUuid' => $this->componentUuid,
'eventName' => $this->eventName,
];
}