You are here

public function ReportEditor::templateConfigForm in Forena Reports 7.5

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

Generate the configuration form for the template for a class.

Parameters

unknown $class:

unknown $config:

File

src/Editor/ReportEditor.php, line 1210
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 templateConfigForm($class, $config) {
  $form = array();
  $c = Frx::Template($class);
  if ($c && method_exists($c, 'configForm')) {
    $form = $c
      ->configForm($config);
  }
  return $form;
}