function SearchPageInterface::getPlugin

Same name in other branches
  1. 9 core/modules/search/src/SearchPageInterface.php \Drupal\search\SearchPageInterface::getPlugin()
  2. 10 core/modules/search/src/SearchPageInterface.php \Drupal\search\SearchPageInterface::getPlugin()
  3. 11.x core/modules/search/src/SearchPageInterface.php \Drupal\search\SearchPageInterface::getPlugin()

Returns the search plugin.

Return value

\Drupal\search\Plugin\SearchInterface The search plugin used by this search page entity.

1 method overrides SearchPageInterface::getPlugin()
SearchPage::getPlugin in core/modules/search/src/Entity/SearchPage.php
Returns the search plugin.

File

core/modules/search/src/SearchPageInterface.php, line 18

Class

SearchPageInterface
Provides an interface defining a search page entity.

Namespace

Drupal\search

Code

public function getPlugin();

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