Esempio n. 1
0
 /**
  * Disable removing default zone
  *
  * @param \XLite\Model\Language $entity Language object
  *
  * @return boolean
  */
 protected function isAllowEntityRemove(\XLite\Model\AEntity $entity)
 {
     return !$entity->getIsDefault();
 }