public function FieldsProcessorPluginBase::getElementInfoManager in Search API 8
Retrieves the element info manager.
Return value
\Drupal\Core\Render\ElementInfoManagerInterface The element info manager.
File
- src/
Processor/ FieldsProcessorPluginBase.php, line 105
Class
- FieldsProcessorPluginBase
- Provides a base class for processors that work on individual fields.
Namespace
Drupal\search_api\ProcessorCode
public function getElementInfoManager() {
return $this->elementInfoManager ?: \Drupal::service('plugin.manager.element_info');
}