You are here

public function ReportEditor::templateConfigFormValidate in Forena Reports 7.5

Same name and namespace in other branches
  1. 8 src/Editor/ReportEditor.php \Drupal\forena\Editor\ReportEditor::templateConfigFormValidate()

File

src/Editor/ReportEditor.php, line 1219
ReportEditor.inc Wrapper XML class for working with DOM object. It provides helper Enter description here ... @author metzlerd

Class

ReportEditor

Namespace

Drupal\forena\Editor

Code

public function templateConfigFormValidate($class, &$config) {
  $c = Frx::Template($class);
  $errors = array();
  if ($c && method_exists($c, 'configValidate')) {
    $errors = $c
      ->configValidate($config);
  }
  return $errors;
}