public function Textimage::getUrl in Textimage 8.4
Same name and namespace in other branches
- 8.3 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 433
Class
- Textimage
- Provides a Textimage.
Namespace
Drupal\textimageCode
public function getUrl() {
return $this->processed ? Url::fromUri(file_create_url($this
->getUri())) : NULL;
}