public function LinkCheckerLink::setStatusCode in Link checker 8
Sets a response status code.
Parameters
int $code: The status code.
Return value
$this
Overrides LinkCheckerLinkInterface::setStatusCode
File
- src/
Entity/ LinkCheckerLink.php, line 126
Class
- LinkCheckerLink
- Defines the linkcheckerlink type entity.
Namespace
Drupal\linkchecker\EntityCode
public function setStatusCode($code) {
$this
->set('code', $code);
return $this;
}