Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. SearchInterface.php

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

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal