You are here

public function LinkCheckerLink::setFailCount in Link checker 8

Sets a number of failed requests.

Parameters

int $count: New amount.

Return value

$this

Overrides LinkCheckerLinkInterface::setFailCount

File

src/Entity/LinkCheckerLink.php, line 156

Class

LinkCheckerLink
Defines the linkcheckerlink type entity.

Namespace

Drupal\linkchecker\Entity

Code

public function setFailCount($count) {
  $this
    ->set('fail_count', $count);
  return $this;
}