protected function ConfigurablePluginBase::moduleHandler in Search API 8
Wraps the module handler.
Return value
\Drupal\Core\Extension\ModuleHandlerInterface The module 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 160
Class
- ConfigurablePluginBase
- Provides a base class for all configurable Search API plugins.
Namespace
Drupal\search_api\PluginCode
protected function moduleHandler() {
@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
->traitModuleHandler();
}