public function SearchPluginBase::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.
Overrides SearchInterface::usesAdminTheme
See also
\Drupal\search\Annotation\SearchPlugin::$use_admin_theme
File
- core/
modules/ search/ src/ Plugin/ SearchPluginBase.php, line 168
Class
- SearchPluginBase
- Defines a base class for plugins wishing to support search.
Namespace
Drupal\search\PluginCode
public function usesAdminTheme() {
return $this->pluginDefinition['use_admin_theme'];
}