public function LinkCheckerLink::setUrl in Link checker 8
Sets new URL.
Parameters
string $url: The URL.
Return value
$this
Overrides LinkCheckerLinkInterface::setUrl
File
- src/
Entity/ LinkCheckerLink.php, line 96
Class
- LinkCheckerLink
- Defines the linkcheckerlink type entity.
Namespace
Drupal\linkchecker\EntityCode
public function setUrl($url) {
$this
->get('url')->value = $url;
return $this;
}