public function LinkCheckerLink::getParentEntity in Link checker 8
Gets entity where the link was found.
Return value
\Drupal\Core\Entity\FieldableEntityInterface Entity.
Overrides LinkCheckerLinkInterface::getParentEntity
File
- src/
Entity/ LinkCheckerLink.php, line 179
Class
- LinkCheckerLink
- Defines the linkcheckerlink type entity.
Namespace
Drupal\linkchecker\EntityCode
public function getParentEntity() {
return $this
->get('entity_id')->entity;
}