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