You are here

public function SearchPluginBase::getAttributes in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 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 80
Contains \Drupal\search\Plugin\SearchPluginBase.

Class

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

Namespace

Drupal\search\Plugin

Code

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