public function LinkCheckerLinkInterface::setParentEntity in Link checker 8
Sets a entity where the link was found.
Parameters
\Drupal\Core\Entity\FieldableEntityInterface $entity: Entity.
Return value
$this
1 method overrides LinkCheckerLinkInterface::setParentEntity()
- LinkCheckerLink::setParentEntity in src/
Entity/ LinkCheckerLink.php - Sets a entity where the link was found.
File
- src/
LinkCheckerLinkInterface.php, line 175
Class
- LinkCheckerLinkInterface
- Provides an interface defining a LinkCheckerLink type entity.
Namespace
Drupal\linkcheckerCode
public function setParentEntity(FieldableEntityInterface $entity);