You are here

public function LinkCheckerLink::getErrorMessage in Link checker 8

Gets a response error message.

Return value

string The error message.

Overrides LinkCheckerLinkInterface::getErrorMessage

File

src/Entity/LinkCheckerLink.php, line 134

Class

LinkCheckerLink
Defines the linkcheckerlink type entity.

Namespace

Drupal\linkchecker\Entity

Code

public function getErrorMessage() {
  return $this
    ->get('error')->value;
}