You are here

public function ReportFileSystem::skins in Forena Reports 8

File

src/File/ReportFileSystem.php, line 207

Class

ReportFileSystem

Namespace

Drupal\forena\File

Code

public function skins() {
  $skins = array();
  $this
    ->scan();

  // First find YML files
  $files = $this
    ->allMetadataForExt('skin.yml');
  foreach ($files as $name => $obj) {
    $skins[$name] = isset($obj->metaData['name']) ? $obj->metaData['name'] : $name;
  }
  return $skins;
}