Skip to content
Snippets Groups Projects
Unverified Commit e2d8c4c0 authored by Alex Pott's avatar Alex Pott
Browse files

Issue #2930445 by Alan D., mxh, Berdir: FieldItemListInterface::getEntity()...

Issue #2930445 by Alan D., mxh, Berdir: FieldItemListInterface::getEntity() should return FieldableEntityInterface rather than EntityInterface
parent 4ecf7cb1
No related branches found
No related tags found
No related merge requests found
......@@ -30,7 +30,7 @@ interface FieldItemListInterface extends ListInterface, AccessibleInterface {
/**
* Gets the entity that field belongs to.
*
* @return \Drupal\Core\Entity\EntityInterface
* @return \Drupal\Core\Entity\FieldableEntityInterface
* The entity object.
*/
public function getEntity();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment