/**
  * @param $fieldName
  *
  * @return bool
  */
 protected function hasAccessEditFiled($fieldName)
 {
     $blackList = EntityFieldBlackList::getValues();
     if (in_array($fieldName, $blackList)) {
         return false;
     }
     return true;
 }
Example #2
0
 /**
  * @return array
  */
 public function getBlackList()
 {
     return EntityFieldBlackList::getValues();
 }