public function variables() { return ['items' => $this->model->toTree(), 'id' => $this->elementId]; }