Skip to content

Instantly share code, notes, and snippets.

@wowo
Created October 19, 2011 07:27
Show Gist options
  • Save wowo/1297670 to your computer and use it in GitHub Desktop.
Save wowo/1297670 to your computer and use it in GitHub Desktop.
<?php
class MailingType extends AbstractType
{
public function buildForm(FormBuilder $builder, array $options)
{
//this is ain't documented but it works! :-)
$builder
->add('body', 'textarea',
array('attr' => array('class' => 'tinymce')));
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment