protected function define_fields() { $this->parent_id = new DropDownField(__("Parent PostCategory"), \PostCategory::findAllAsChoice($this->taxonomy)); $this->name = new TextField(__('PostCategory Name'), 25, 255); $this->slug = new TextField(__('PostCategory Slug'), 25, 255); }