public function onInit() { parent::onInit(); $this->registerShortcode(); $this->registerTwigTableRender(); $this->addTwigHighlighter(); }
/** * {@inheritdoc} */ public function onInit() { parent::onInit(); $this->registerAjaxRequestHandler(); $this->registerTwigFunctions(); $this->update(); add_action('admin_menu', array($this, 'removeDefaultSubMenu'), 999); }
public function onInit() { parent::onInit(); $this->registerMenu(); $config = $this->getEnvironment()->getConfig(); $config->add('post_url', 'http://supsystic.com/news/main.html'); $config->add('mail', '*****@*****.**'); }
/** * {@inheritdoc} */ public function onInit() { parent::onInit(); $this->renderDiagramsSection(); }
/** * {@inheritdoc} */ public function onInit() { parent::onInit(); $this->registerAjaxRequestHandler(); $this->update(); }
/** * {@inheritdoc} */ public function onInit() { parent::onInit(); $this->assets = array(); }