You are here

protected function TwigExtensionBase::getFieldTypeManager in Bamboo Twig 8.2

Same name and namespace in other branches
  1. 8.5 src/TwigExtension/TwigExtensionBase.php \Drupal\bamboo_twig\TwigExtension\TwigExtensionBase::getFieldTypeManager()
  2. 8.3 src/TwigExtension/TwigExtensionBase.php \Drupal\bamboo_twig\TwigExtension\TwigExtensionBase::getFieldTypeManager()
  3. 8.4 src/TwigExtension/TwigExtensionBase.php \Drupal\bamboo_twig\TwigExtension\TwigExtensionBase::getFieldTypeManager()

Return the factory for image objects.

Return value

\Drupal\Core\Field\FieldTypePluginManager Return the factory for image objects.

File

src/TwigExtension/TwigExtensionBase.php, line 167

Class

TwigExtensionBase
Provides a Twig Extension Lazy Service Injection.

Namespace

Drupal\bamboo_twig\TwigExtension

Code

protected function getFieldTypeManager() {
  return $this->container
    ->get('plugin.manager.field.field_type');
}