interface LinkStatusHandlerInterface in Link checker 8
Defines an interface for Link status handler plugins.
Hierarchy
- interface \Drupal\Component\Plugin\PluginInspectionInterface
- interface \Drupal\linkchecker\Plugin\LinkStatusHandlerInterface
Expanded class hierarchy of LinkStatusHandlerInterface
All classes that implement LinkStatusHandlerInterface
File
- src/
Plugin/ LinkStatusHandlerInterface.php, line 12
Namespace
Drupal\linkchecker\PluginView source
interface LinkStatusHandlerInterface extends PluginInspectionInterface {
/**
* Handles a status code of link.
*
* @param \Drupal\linkchecker\LinkCheckerLinkInterface $link
* The link.
* @param \Psr\Http\Message\ResponseInterface $response
* The response of link checking.
*/
public function handle(LinkCheckerLinkInterface $link, ResponseInterface $response);
/**
* Creates a queue for handling.
*
* @param \Drupal\linkchecker\LinkCheckerLinkInterface $link
* The link.
* @param \Psr\Http\Message\ResponseInterface $response
* The response of link checking.
*/
public function queueItems(LinkCheckerLinkInterface $link, ResponseInterface $response);
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
LinkStatusHandlerInterface:: |
public | function | Handles a status code of link. | 1 |
LinkStatusHandlerInterface:: |
public | function | Creates a queue for handling. | 1 |
PluginInspectionInterface:: |
public | function | Gets the definition of the plugin implementation. | 4 |
PluginInspectionInterface:: |
public | function | Gets the plugin_id of the plugin instance. | 2 |