You are here

public function SvgEmbedProcess::extract in SVG Embed 8

Parameters

string $uuid:

Return value

array

Overrides SvgEmbedProcessInterface::extract

File

src/SvgEmbedProcess.php, line 46

Class

SvgEmbedProcess
Class SvgEmbedProcess.

Namespace

Drupal\svg_embed

Code

public function extract($uuid) : array {
  if ($xml = $this
    ->loadFile($uuid)) {

    //TODO: Go through the DOM and extract all relevant strings, see _svg_embed_extract() in D7
  }
  return array();
}