/** * get form dependencies * * @return array */ public function getFormDepends() { if (is_null($this->formDepends)) { $this->formDepends = $this->formConfig->getDepends($this->getEntityCode(), false); } return $this->formDepends; }
/** * get attribute dependencies as json * * @return string */ public function getAttributeDepends() { return $this->formConfig->getDepends($this->attribute->getEntityCode()); }