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