Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. SearchPage.php

function 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

File

core/modules/search/src/Entity/SearchPage.php, line 133

Class

SearchPage
Defines a configured search page.

Namespace

Drupal\search\Entity

Code

protected function getPluginCollection() {
    if (!$this->pluginCollection) {
        $this->pluginCollection = new SearchPluginCollection($this->searchPluginManager(), $this->plugin, $this->configuration, $this->id());
    }
    return $this->pluginCollection;
}

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal