You are here

public function SearchInterface::getAttributes in Drupal 10

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

Returns the currently set attributes (from the request).

Return value

array The attributes.

1 method overrides SearchInterface::getAttributes()
SearchPluginBase::getAttributes in core/modules/search/src/Plugin/SearchPluginBase.php
Returns the currently set attributes (from the request).

File

core/modules/search/src/Plugin/SearchInterface.php, line 51

Class

SearchInterface
Defines a common interface for all SearchPlugin objects.

Namespace

Drupal\search\Plugin

Code

public function getAttributes();