protected function BlazyVideoBase::vefProviderManager in Blazy 8.2
Returns the optional VEF service to avoid dependency for optional plugins.
1 call to BlazyVideoBase::vefProviderManager()
- BlazyVideoFormatter::buildElements in src/
Plugin/ Field/ FieldFormatter/ BlazyVideoFormatter.php - Build the blazy elements.
File
- src/
Dejavu/ BlazyVideoBase.php, line 68
Class
- BlazyVideoBase
- Base class for blazy video embed field formatters.
Namespace
Drupal\blazy\DejavuCode
protected function vefProviderManager() {
if (function_exists('video_embed_field_theme')) {
return \Drupal::service('video_embed_field.provider_manager');
}
return FALSE;
}