diff --git a/stubs/Drupal/Core/Field/FormatterInterface.stub b/stubs/Drupal/Core/Field/FormatterInterface.stub new file mode 100644 index 00000000..b5d4909a --- /dev/null +++ b/stubs/Drupal/Core/Field/FormatterInterface.stub @@ -0,0 +1,15 @@ + $items + * @param string $langcode + * + * @return array> + */ + public function viewElements(FieldItemListInterface $items, $langcode): array; + +}