You are here

public function LinkCheckerLink::setLastCheckTime in Link checker 8

Sets a last time the link was checked.

Parameters

int $time: Timestamp.

Return value

$this

Overrides LinkCheckerLinkInterface::setLastCheckTime

File

src/Entity/LinkCheckerLink.php, line 171

Class

LinkCheckerLink
Defines the linkcheckerlink type entity.

Namespace

Drupal\linkchecker\Entity

Code

public function setLastCheckTime($time) {
  $this
    ->set('last_check', $time);
  return $this;
}