diff --git a/src/TwigTweakExtension.php b/src/TwigTweakExtension.php index 16ca82f..a3bc167 100644 --- a/src/TwigTweakExtension.php +++ b/src/TwigTweakExtension.php @@ -192,7 +192,7 @@ class TwigTweakExtension extends AbstractExtension { /** * Returns the render array for a single entity field. */ - public static function drupalField(string $field_name, string $entity_type, string $id, string $view_mode = 'full', string $langcode = NULL, bool $check_access = TRUE): array { + public static function drupalField(string $field_name, string $entity_type, string $id, $view_mode = 'full', string $langcode = NULL, bool $check_access = TRUE): array { $entity = \Drupal::entityTypeManager()->getStorage($entity_type)->load($id); if ($entity) { return \Drupal::service('twig_tweak.field_view_builder')