function SearchPage::getPluginCollections

Same name and namespace in other branches
  1. 8.9.x core/modules/search/src/Entity/SearchPage.php \Drupal\search\Entity\SearchPage::getPluginCollections()
  2. 10 core/modules/search/src/Entity/SearchPage.php \Drupal\search\Entity\SearchPage::getPluginCollections()
  3. 11.x core/modules/search/src/Entity/SearchPage.php \Drupal\search\Entity\SearchPage::getPluginCollections()

Gets the plugin collections used by this object.

Return value

\Drupal\Component\Plugin\LazyPluginCollection[] An array of plugin collections, keyed by the property name they use to store their configuration.

Overrides ObjectWithPluginCollectionInterface::getPluginCollections

File

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

Class

SearchPage
Defines a configured search page.

Namespace

Drupal\search\Entity

Code

public function getPluginCollections() {
  return [
    'configuration' => $this->getPluginCollection(),
  ];
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.