/**
* @param EventArgs $args
*/
public function preRemove(EventArgs $args)
{
parent::preRemove($args);
if (method_exists($args->getEntity(), 'isDeletable')) {
if ($args->getEntity()->isDeletable() == 0) {
//find a solution... like throwing super Exception thingy
}
}
}