/** * Return array of inherited attributes * * @return array */ protected function getInheritedFields() { // Not a variant, no inherited fields if (!$this->isVariant()) { return array(); } return array_merge(deserialize($this->arrData['inherit'], true), Attribute::getInheritFields()); }