public function SearchPluginBase::getAttributes in Drupal 10
Same name and namespace in other branches
- 8 core/modules/search/src/Plugin/SearchPluginBase.php \Drupal\search\Plugin\SearchPluginBase::getAttributes()
- 9 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\PluginCode
public function getAttributes() {
return $this->searchAttributes;
}