Issue #2930445 by Alan D., mxh, Berdir: FieldItemListInterface::getEntity() should return FieldableEntityInterface rather than EntityInterface
parent
4ecf7cb1cb
commit
e2d8c4c060
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue