You are here

public function Textimage::getText in Textimage 8.3

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

Return the processed text.

Return value

array An array of fully processed text elements.

Overrides TextimageInterface::getText

File

src/Textimage.php, line 407

Class

Textimage
Provides a Textimage.

Namespace

Drupal\textimage

Code

public function getText() {
  return $this->processed ? array_values($this->text) : [];
}