Issue #2930445 by Alan D., mxh, Berdir: FieldItemListInterface::getEntity() should return FieldableEntityInterface rather than EntityInterface

8.6.x
Alex Pott 2018-05-05 00:27:44 +01:00
parent 4ecf7cb1cb
commit e2d8c4c060
No known key found for this signature in database
GPG Key ID: 31905460D4A69276
1 changed files with 1 additions and 1 deletions

View File

@ -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();