You are here

public function LinkCheckerLink::getFailCount in Link checker 8

Gets a number of failed requests.

Return value

int Number.

Overrides LinkCheckerLinkInterface::getFailCount

File

src/Entity/LinkCheckerLink.php, line 149

Class

LinkCheckerLink
Defines the linkcheckerlink type entity.

Namespace

Drupal\linkchecker\Entity

Code

public function getFailCount() {
  return $this
    ->get('fail_count')->value;
}