/** * Renders the widget. * * @param string $id The identifier. * @param array $config The config. * @param array $options The options. * * @return string The rendered widget. */ public function renderWidget($id, array $config, array $options = array()) { return $this->helper->renderWidget($id, $config, $options); }
/** * Renders the widget. * * @param string $id The identifier. * @param array $config The config. * @param boolean $inline TRUE if the widget is inlined else FALSE. * @param boolean $inputSync TRUE if the input is synchronized with the CKEditor instance else FALSE. * * @return string The rendered widget. */ public function renderWidget($id, array $config, $inline = false, $inputSync = false) { return $this->helper->renderWidget($id, $config, $inline, $inputSync); }
/** * Renders the replace. * * @param string $id The identifier. * @param array $config The config. * * @return string The rendered replace. */ public function renderReplace($id, array $config) { @trigger_error('The ckeditor_replace twig function is now deprecated and will be removed in 3.0. Use ckeditor_widget instead.', E_USER_DEPRECATED); return $this->helper->renderWidget($id, $config); }