You are here

protected function ConfigurablePluginBase::themeHandler in Search API 8

Wraps the theme handler.

Return value

\Drupal\Core\Extension\ThemeHandlerInterface The theme handler.

Deprecated

in search_api:8.x-1.16 and is removed from search_api:2.0.0. Add \Drupal\Core\Plugin\PluginDependencyTrait manually for your class if you need it.

See also

https://www.drupal.org/node/3099004

File

src/Plugin/ConfigurablePluginBase.php, line 177

Class

ConfigurablePluginBase
Provides a base class for all configurable Search API plugins.

Namespace

Drupal\search_api\Plugin

Code

protected function themeHandler() {
  @trigger_error('The use of \\Drupal\\Core\\Plugin\\PluginDependencyTrait via \\Drupal\\search_api\\Plugin\\ConfigurablePluginBase is deprecated in search_api:8.x-1.16 and is removed from search_api:2.0.0. Add \\Drupal\\Core\\Plugin\\PluginDependencyTrait manually for your class if you need it. See https://www.drupal.org/node/3099004', E_USER_DEPRECATED);
  return $this
    ->traitThemeHandler();
}