You are here

public function LinkCheckerLink::isExists in Link checker 8

Checks if link was not removed from content.

If link becomes blacklisted this method should return false.

Return value

bool TRUE if link exists in a content.

Overrides LinkCheckerLinkInterface::isExists

File

src/Entity/LinkCheckerLink.php, line 246

Class

LinkCheckerLink
Defines the linkcheckerlink type entity.

Namespace

Drupal\linkchecker\Entity

Code

public function isExists() {
  return \Drupal::service('linkchecker.extractor')
    ->isLinkExists($this);
}