Ojs\AdminBundle\Form\Type\PublisherThemeType::buildForm PHP Method

buildForm() public method

public buildForm ( Symfony\Component\Form\FormBuilderInterface $builder, array $options )
$builder Symfony\Component\Form\FormBuilderInterface
$options array
    public function buildForm(FormBuilderInterface $builder, array $options)
    {
        $builder->add('publisher', 'entity', array('label' => 'publisher', 'class' => 'Ojs\\JournalBundle\\Entity\\Publisher', 'property' => 'name', 'multiple' => false, 'expanded' => false, 'required' => false, 'error_bubbling' => true))->add('title', 'text', ['label' => 'Title'])->add('public', 'checkbox', ['label' => 'ojs.is_public', 'required' => false])->add('css', 'ace_editor', array('wrapper_attr' => array(), 'width' => 700, 'height' => 200, 'font_size' => 12, 'mode' => 'ace/mode/css', 'theme' => 'ace/theme/chrome', 'tab_size' => null, 'read_only' => null, 'use_soft_tabs' => null, 'use_wrap_mode' => null, 'show_print_margin' => null, 'highlight_active_line' => null));
    }