function SearchInterface::getAttributes

Same name and namespace in other branches
  1. 9 core/modules/search/src/Plugin/SearchInterface.php \Drupal\search\Plugin\SearchInterface::getAttributes()
  2. 8.9.x core/modules/search/src/Plugin/SearchInterface.php \Drupal\search\Plugin\SearchInterface::getAttributes()
  3. 10 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();

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