You are here

public function SearchInterface::usesAdminTheme in Drupal 9

Returns whether or not search results should be displayed in admin theme.

Return value

bool TRUE if search results should be displayed in the admin theme, and FALSE otherwise.

See also

\Drupal\search\Annotation\SearchPlugin::$use_admin_theme

1 method overrides SearchInterface::usesAdminTheme()
SearchPluginBase::usesAdminTheme in core/modules/search/src/Plugin/SearchPluginBase.php
Returns whether or not search results should be displayed in admin theme.

File

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

Class

SearchInterface
Defines a common interface for all SearchPlugin objects.

Namespace

Drupal\search\Plugin

Code

public function usesAdminTheme();