You are here

public function Textimage::getUri in Textimage 8.4

Same name and namespace in other branches
  1. 8.3 src/Textimage.php \Drupal\textimage\Textimage::getUri()

Returns the URI of the Textimage.

Return value

string An URI.

Overrides TextimageInterface::getUri

4 calls to Textimage::getUri()
Textimage::buildImage in src/Textimage.php
Build the image via core ImageStyle::createDerivative() method.
Textimage::getUrl in src/Textimage.php
Returns the URL of the Textimage.
Textimage::process in src/Textimage.php
Process the Textimage, with the required raw text.
Textimage::setCached in src/Textimage.php
Cache Textimage data.

File

src/Textimage.php, line 426

Class

Textimage
Provides a Textimage.

Namespace

Drupal\textimage

Code

public function getUri() {
  return $this->processed ? $this->uri : NULL;
}