Unverified Commit e2d8c4c0 authored by alexpott's avatar alexpott
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
...@@ -30,7 +30,7 @@ interface FieldItemListInterface extends ListInterface, AccessibleInterface { ...@@ -30,7 +30,7 @@ interface FieldItemListInterface extends ListInterface, AccessibleInterface {
/** /**
* Gets the entity that field belongs to. * Gets the entity that field belongs to.
* *
* @return \Drupal\Core\Entity\EntityInterface * @return \Drupal\Core\Entity\FieldableEntityInterface
* The entity object. * The entity object.
*/ */
public function getEntity(); public function getEntity();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment