/** * Check if changed metadata defenition for a field except 'label' * * @return boolean */ protected function isDefsChanged($name, $fieldDef, $scope) { $fieldDef = $this->prepareFieldDef($name, $fieldDef, $scope); $currentFieldDef = $this->getFieldDef($name, $scope); $this->isChanged = Util::isEquals($fieldDef, $currentFieldDef) ? false : true; return $this->isChanged; }