Skip to content

Commit eaf48f4

Browse files
committed
Add FormatterBase stub/generic
1 parent 197fc07 commit eaf48f4

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
<?php
2+
3+
namespace Drupal\Core\Field;
4+
5+
use Drupal\Core\Plugin\ContainerFactoryPluginInterface;
6+
use Drupal\Core\Field\FormatterInterface;
7+
use Drupal\Core\Field\PluginSettingsBase;
8+
9+
/**
10+
* @template TFieldItemList of \Drupal\Core\Field\FieldItemListInterface
11+
* @implements FormatterInterface<TFieldItemList>
12+
*/
13+
abstract class FormatterBase extends PluginSettingsBase implements FormatterInterface, ContainerFactoryPluginInterface {
14+
15+
}

0 commit comments

Comments
 (0)