public function prePersist($content)
 {
     if (!$content->getSlug()) {
         $content->setSlug('');
     }
     parent::prePersist($content);
 }