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