public function Keyword::getUrl in Alinks 8
Returns url.
Return value
string The url.
File
- src/
Entity/ Keyword.php, line 235  
Class
- Keyword
 - Defines the Keyword entity.
 
Namespace
Drupal\alinks\EntityCode
public function getUrl() {
  return $this
    ->get('link')
    ->first()
    ->getUrl()
    ->toString();
}