function NodeSearch::getType

Overrides SearchPluginBase::getType

File

core/modules/node/src/Plugin/Search/NodeSearch.php, line 230

Class

NodeSearch
Handles searching for node entities using the Search module index.

Namespace

Drupal\node\Plugin\Search

Code

public function getType() {
  return $this->getPluginId();
}

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