You are here

abstract protected function LinkStatusHandlerBase::doHandle in Link checker 8

Handles a status code of link.

Parameters

\Drupal\linkchecker\LinkCheckerLinkInterface $link: The link.

\Psr\Http\Message\ResponseInterface $response: The response of link checking.

\Drupal\Core\Entity\FieldableEntityInterface $entity: The entity with proper translation loaded.

1 call to LinkStatusHandlerBase::doHandle()
LinkStatusHandlerBase::handle in src/Plugin/LinkStatusHandlerBase.php
Handles a status code of link.
2 methods override LinkStatusHandlerBase::doHandle()
Repair301::doHandle in src/Plugin/LinkStatusHandler/Repair301.php
Handles a status code of link.
Unpublish404::doHandle in src/Plugin/LinkStatusHandler/Unpublish404.php
Handles a status code of link.

File

src/Plugin/LinkStatusHandlerBase.php, line 136

Class

LinkStatusHandlerBase
Base class for Link status handler plugins.

Namespace

Drupal\linkchecker\Plugin

Code

protected abstract function doHandle(LinkCheckerLinkInterface $link, ResponseInterface $response, FieldableEntityInterface $entity);