Skip to content

Commit 494435f

Browse files
jacktonkinmglaman
authored andcommitted
Stub FieldableEntityInterface::get()
1 parent f29714c commit 494435f

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

stubs/Drupal/Core/Entity/FieldableEntityInterface.stub

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,11 @@ namespace Drupal\Core\Entity;
44

55
interface FieldableEntityInterface extends EntityInterface {
66

7+
/**
8+
* @return \Drupal\Core\Field\FieldItemListInterface<\Drupal\Core\Field\FieldItemInterface>
9+
*/
10+
public function get(string $field_name);
11+
712
/**
813
* @return array<string, \Drupal\Core\Field\FieldDefinitionInterface>
914
*/

0 commit comments

Comments
 (0)