You are here

public function LinkStatusHandlerInterface::handle 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.

1 method overrides LinkStatusHandlerInterface::handle()
LinkStatusHandlerBase::handle in src/Plugin/LinkStatusHandlerBase.php
Handles a status code of link.

File

src/Plugin/LinkStatusHandlerInterface.php, line 22

Class

LinkStatusHandlerInterface
Defines an interface for Link status handler plugins.

Namespace

Drupal\linkchecker\Plugin

Code

public function handle(LinkCheckerLinkInterface $link, ResponseInterface $response);