function SearchPluginBase::usesAdminTheme

Same name and namespace in other branches
  1. 9 core/modules/search/src/Plugin/SearchPluginBase.php \Drupal\search\Plugin\SearchPluginBase::usesAdminTheme()
  2. 11.x 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

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\Plugin

Code

public function usesAdminTheme() {
    return $this->pluginDefinition['use_admin_theme'];
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.