You are here

public function SearchPage::getPluginCollections in Drupal 9

Same name and namespace in other branches
  1. 8 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(),
  ];
}