You are here

public function SelectEntitiesCommand::render in Entity Browser 8

Same name and namespace in other branches
  1. 8.2 src/Ajax/SelectEntitiesCommand.php \Drupal\entity_browser\Ajax\SelectEntitiesCommand::render()

Implements \Drupal\Core\Ajax\CommandInterface::render().

Overrides CommandInterface::render

File

src/Ajax/SelectEntitiesCommand.php, line 44

Class

SelectEntitiesCommand
AJAX command to rerender a formatted text field without any transformation filters.

Namespace

Drupal\entity_browser\Ajax

Code

public function render() {
  return [
    'command' => 'select_entities',
    'uuid' => $this->uuid,
    'entities' => $this->entities,
  ];
}