Created
June 22, 2011 08:08
-
-
Save johnwards/1039677 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 PlainType extends AbstractType | |
{ | |
public function getDefaultOptions(array $options) | |
{ | |
return array( | |
'read_only' => true, | |
); | |
} | |
public function getParent(array $options) | |
{ | |
return 'field'; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment