setTemplate('/Modules/Calendar/Theme/Backend/Components/Event/popup'); } /** * Get event view id * * @return string * * @since 1.0.0 */ public function getId() : string { return $this->id; } /** * {@inheritdoc} */ public function render(mixed ...$data) : string { /** @var array{0:string} $data */ $this->id = $data[0]; return parent::render(); } }