public function EntityBrowser::setDisplay in Entity Browser 8.2
Same name and namespace in other branches
- 8 src/Entity/EntityBrowser.php \Drupal\entity_browser\Entity\EntityBrowser::setDisplay()
Sets the id of the display plugin.
Parameters
string $display: The id of the display plugin.
Return value
\Drupal\entity_browser\EntityBrowserInterface The class instance this method is called on.
Overrides EntityBrowserInterface::setDisplay
File
- src/
Entity/ EntityBrowser.php, line 205
Class
- EntityBrowser
- Defines an entity browser configuration entity.
Namespace
Drupal\entity_browser\EntityCode
public function setDisplay($display) {
$this->display = $display;
$this->displayPluginCollection = NULL;
$this->display_configuration = [];
$this
->getDisplay();
return $this;
}