protected function EntityBrowser::displayPluginCollection in Entity Browser 8
Same name and namespace in other branches
- 8.2 src/Entity/EntityBrowser.php \Drupal\entity_browser\Entity\EntityBrowser::displayPluginCollection()
Returns display plugin collection.
Return value
\Drupal\Core\Plugin\DefaultSingleLazyPluginCollection The tag plugin collection.
1 call to EntityBrowser::displayPluginCollection()
- EntityBrowser::getPluginCollections in src/
Entity/ EntityBrowser.php - Returns the plugin collections used by this entity.
File
- src/
Entity/ EntityBrowser.php, line 241
Class
- EntityBrowser
- Defines an entity browser configuration entity.
Namespace
Drupal\entity_browser\EntityCode
protected function displayPluginCollection() {
if (!$this->displayCollection) {
$this->display_configuration['entity_browser_id'] = $this
->id();
$this->displayCollection = new DefaultSingleLazyPluginCollection(\Drupal::service('plugin.manager.entity_browser.display'), $this->display, $this->display_configuration);
}
return $this->displayCollection;
}