You are here

public function EntityBrowser::getSelectionDisplay in Entity Browser 8

Same name and namespace in other branches
  1. 8.2 src/Entity/EntityBrowser.php \Drupal\entity_browser\Entity\EntityBrowser::getSelectionDisplay()

Returns the selection display.

Return value

\Drupal\entity_browser\SelectionDisplayInterface The display.

Overrides EntityBrowserInterface::getSelectionDisplay

1 call to EntityBrowser::getSelectionDisplay()
EntityBrowser::setSelectionDisplay in src/Entity/EntityBrowser.php
Sets the id of the selection display plugin.

File

src/Entity/EntityBrowser.php, line 353

Class

EntityBrowser
Defines an entity browser configuration entity.

Namespace

Drupal\entity_browser\Entity

Code

public function getSelectionDisplay() {
  return $this
    ->selectionDisplayPluginCollection()
    ->get($this->selection_display);
}