You are here

public function SearchInterface::usesAdminTheme in Drupal 10

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

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();