PHP Class Elcodi\Admin\PageBundle\Form\EventListener\PermanentPageSubscriber

Inheritance: implements Symfony\Component\EventDispatcher\EventSubscriberInterface
Afficher le fichier Open project: elcodi/bamboo

Méthodes publiques

Méthode Description
getSubscribedEvents ( ) : array Gets the events which the class is subscribed to.
preSetData ( Symfony\Component\Form\FormEvent $event ) This method is called during the Form::setData() call and removes the options that are not allowed for persistent pages.

Method Details

getSubscribedEvents() public static méthode

Gets the events which the class is subscribed to.
public static getSubscribedEvents ( ) : array
Résultat array The array of events and methods to call.

preSetData() public méthode

This method is called during the Form::setData() call and removes the options that are not allowed for persistent pages.
public preSetData ( Symfony\Component\Form\FormEvent $event )
$event Symfony\Component\Form\FormEvent The form event launched.