You are here

public function EntityBrowser::getDisplay in Entity Browser 8

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

Returns the display.

Return value

\Drupal\entity_browser\DisplayInterface The display.

Overrides EntityBrowserInterface::getDisplay

2 calls to EntityBrowser::getDisplay()
EntityBrowser::route in src/Entity/EntityBrowser.php
Gets route that matches this display.
EntityBrowser::setDisplay in src/Entity/EntityBrowser.php
Sets the id of the display plugin.

File

src/Entity/EntityBrowser.php, line 190

Class

EntityBrowser
Defines an entity browser configuration entity.

Namespace

Drupal\entity_browser\Entity

Code

public function getDisplay() {
  return $this
    ->displayPluginCollection()
    ->get($this->display);
}