You are here

public function LinkCheckerLinkInterface::setStatusCode in Link checker 8

Sets a response status code.

Parameters

int $code: The status code.

Return value

$this

1 method overrides LinkCheckerLinkInterface::setStatusCode()
LinkCheckerLink::setStatusCode in src/Entity/LinkCheckerLink.php
Sets a response status code.

File

src/LinkCheckerLinkInterface.php, line 103

Class

LinkCheckerLinkInterface
Provides an interface defining a LinkCheckerLink type entity.

Namespace

Drupal\linkchecker

Code

public function setStatusCode($code);