Ojs\AdminBundle\Form\Type\PublisherDesignType::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('editableContent', 'hidden')->add('public', 'checkbox', ['label' => 'ojs.is_public', 'required' => false]);
    }