function SearchInterface::usesAdminTheme
Same name in other branches
- 10 core/modules/search/src/Plugin/SearchInterface.php \Drupal\search\Plugin\SearchInterface::usesAdminTheme()
- 11.x 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\PluginCode
public function usesAdminTheme();
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.