public function SearchPluginBase::usesAdminTheme in Drupal 10
Same name and namespace in other branches
- 9 core/modules/search/src/Plugin/SearchPluginBase.php \Drupal\search\Plugin\SearchPluginBase::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.
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'];
}