protected function SearchPage::getPluginCollection in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/modules/search/src/Entity/SearchPage.php \Drupal\search\Entity\SearchPage::getPluginCollection()
Encapsulates the creation of the search page's LazyPluginCollection.
Return value
\Drupal\Component\Plugin\LazyPluginCollection The search page's plugin collection.
1 call to SearchPage::getPluginCollection()
- SearchPage::getPluginCollections in core/
modules/ search/ src/ Entity/ SearchPage.php - Gets the plugin collections used by this entity.
File
- core/
modules/ search/ src/ Entity/ SearchPage.php, line 126 - Contains \Drupal\search\Entity\SearchPage.
Class
- SearchPage
- Defines a configured search page.
Namespace
Drupal\search\EntityCode
protected function getPluginCollection() {
if (!$this->pluginCollection) {
$this->pluginCollection = new SearchPluginCollection($this
->searchPluginManager(), $this->plugin, $this->configuration, $this
->id());
}
return $this->pluginCollection;
}