function SearchPluginCollection::get

Same name in other branches
  1. 8.9.x core/modules/search/src/Plugin/SearchPluginCollection.php \Drupal\search\Plugin\SearchPluginCollection::get()
  2. 10 core/modules/search/src/Plugin/SearchPluginCollection.php \Drupal\search\Plugin\SearchPluginCollection::get()
  3. 11.x core/modules/search/src/Plugin/SearchPluginCollection.php \Drupal\search\Plugin\SearchPluginCollection::get()

Return value

\Drupal\search\Plugin\SearchInterface

Overrides LazyPluginCollection::get

File

core/modules/search/src/Plugin/SearchPluginCollection.php, line 43

Class

SearchPluginCollection
Provides a container for lazily loading search plugins.

Namespace

Drupal\search\Plugin

Code

public function &get($instance_id) {
    return parent::get($instance_id);
}

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