You are here

public function Textimage::id in Textimage 8.4

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

Return the Textimage id.

Return value

string A SHA256 hash.

Overrides TextimageInterface::id

File

src/Textimage.php, line 412

Class

Textimage
Provides a Textimage.

Namespace

Drupal\textimage

Code

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