Controller/XingHandler.php
public function postPersistNewEvent(Operation $operation, $content = null)
    {
        $this->publishNow($operation);
        $this->em->persist($content);
        $this->em->flush();
    }
public function postPersistNewEvent(Operation $operation, $content = null)
    {
        $this->publishNow($operation);
        $this->em->persist($content);
        $this->em->flush();
    }
public function postPersistNewEvent ( Operation $ operation , $ content = null ) { $ this -> publishNow ( $ operation ) ; $ this -> em -> persist ( $ content ) ; $ this -> em -> flush ( ) ; }
This event is being called after the new Activity and its related
content was persisted.

Called in these views:
- new

@param Operation $operation
@param Form $form
@param $content The Activity's content object.
@return null
This event is being called after the new Activity and its related content was persisted .