You are here

public static function Skin::parseYml in Forena Reports 8

Parameters

string $data Data to be parsed.:

Return value

array Parsed YML data.

2 calls to Skin::parseYml()
ReportFileSystem::extractMetaData in src/File/ReportFileSystem.php
Should load cache data based on that.
Skin::load in src/Skin.php
Load the skin based on the name.

File

src/Skin.php, line 179
Implements \Drupal\forena\Skins

Class

Skin
Class Skin A skin is a collectio of css and js files that need to get used by an application or reports. Skins are idntified by .fri files contained in the report directory.

Namespace

Drupal\forena

Code

public static function parseYml($data) {
  $parser = new Parser();
  return $parser
    ->parse($data);
}