public function LinkCheckerLink::setHash in Link checker 8
Sets a URL hash.
Parameters
string $hash: New hash.
Return value
$this
Overrides LinkCheckerLinkInterface::setHash
1 call to LinkCheckerLink::setHash()
- LinkCheckerLink::preSave in src/
Entity/ LinkCheckerLink.php - Acts on an entity before the presave hook is invoked.
File
- src/
Entity/ LinkCheckerLink.php, line 81
Class
- LinkCheckerLink
- Defines the linkcheckerlink type entity.
Namespace
Drupal\linkchecker\EntityCode
public function setHash($hash) {
$this
->set('urlhash', $hash);
return $this;
}