setTemplate('/Modules/Editor/Theme/Backend/Components/Editor/inline-editor-tools'); $view = new TextView($l11n, $request, $response); $this->addData('text', $view); } /** * Render the editor id * * @return string * * @since 1.0.0 */ public function renderId() : string { return $this->printHtml($this->id); } /** * {@inheritdoc} */ public function render(mixed ...$data) : string { $this->id = ($data[0] ?? '') . '-tools'; return parent::render(); } }