You are here

public function SearchPluginBase::getAttributes in Drupal 8

Same name and namespace in other branches
  1. 9 core/modules/search/src/Plugin/SearchPluginBase.php \Drupal\search\Plugin\SearchPluginBase::getAttributes()
  2. 10 core/modules/search/src/Plugin/SearchPluginBase.php \Drupal\search\Plugin\SearchPluginBase::getAttributes()

Returns the currently set attributes (from the request).

Return value

array The attributes.

Overrides SearchInterface::getAttributes

File

core/modules/search/src/Plugin/SearchPluginBase.php, line 75

Class

SearchPluginBase
Defines a base class for plugins wishing to support search.

Namespace

Drupal\search\Plugin

Code

public function getAttributes() {
  return $this->searchAttributes;
}