/** * @inheritDoc */ public function getValueOptions() { foreach ($this->categoryStorage->loadByProperties() as $id => $category) { $this->valueOptions[$id] = $category->getName(); } return parent::getValueOptions(); }