Forked from zerrvox/CreateScheduleTemplateType.php
Last active
December 30, 2015 03:59
-
-
Save Lumbendil/7772690 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| class CreateScheduleTemplateType extends AbstractType | |
| { | |
| public function setDefaultOptions(OptionsResolverInterface $resolver) | |
| { | |
| $resolver->setDefaults( | |
| array( | |
| 'required' => true, | |
| 'type' => 'Melin\ModulePlannerBundle\Form\Type\ScheduleTemplate', | |
| 'csrf_protection' => false | |
| ) | |
| ); | |
| } | |
| public function getName() | |
| { | |
| return ''; | |
| } | |
| public function getParent() | |
| { | |
| return 'collection'; | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment