You are here

public function Standalone::selectionCompleted in Entity Browser 8.2

Same name and namespace in other branches
  1. 8 src/Plugin/EntityBrowser/Display/Standalone.php \Drupal\entity_browser\Plugin\EntityBrowser\Display\Standalone::selectionCompleted()

Indicates completed selection.

Entity browser will call this function when selection is done. Display plugin is responsible for fetching selected entities and sending them to the initiating code.

Parameters

\Drupal\Core\Entity\EntityInterface[] $entities: Array of selected entities.

Overrides DisplayBase::selectionCompleted

File

src/Plugin/EntityBrowser/Display/Standalone.php, line 56

Class

Standalone
Presents entity browser as a standalone form.

Namespace

Drupal\entity_browser\Plugin\EntityBrowser\Display

Code

public function selectionCompleted(array $entities) {

  // @TODO Implement it.
}