Example #1
0
<?php

include 'template.php';
$tpl = new Template();
var_dump($tpl->getConfig());
Example #2
0
 public function getConfiguration()
 {
     $templateName = $this->getTemplateName($this->wpWrapper->getTemplateType());
     $template = new Template($templateName, $this->twig, $this->widgetManager, $this->fieldTypeManager);
     return $template->getConfig();
 }