public function Textimage::getUrl in Textimage 8.3
Same name and namespace in other branches
- 8.4 src/Textimage.php \Drupal\textimage\Textimage::getUrl()
 
Returns the URL of the Textimage.
Return value
\Drupal\Core\Url The Url object for the textimage.
Overrides TextimageInterface::getUrl
File
- src/
Textimage.php, line 421  
Class
- Textimage
 - Provides a Textimage.
 
Namespace
Drupal\textimageCode
public function getUrl() {
  return $this->processed ? Url::fromUri(file_create_url($this
    ->getUri())) : NULL;
}