From ad8d1ad4cb4e47df77f2de9eb6335e1677f380b4 Mon Sep 17 00:00:00 2001 From: Niklan Date: Fri, 24 Jan 2025 18:50:16 +0500 Subject: [PATCH] Add FormatterInterface.stub --- stubs/Drupal/Core/Field/FormatterInterface.stub | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 stubs/Drupal/Core/Field/FormatterInterface.stub 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; + +}