deblan.tv/vendor/trinity/src/Trinity/Bundle/EditorialBlockBundle/Form/Type/EditorialBlockFilterType.php

24 lines
582 B
PHP
Raw Normal View History

2015-03-02 21:57:49 +01:00
<?php
namespace Trinity\Bundle\EditorialBlockBundle\Form\Type;
use Propel\PropelBundle\Form\BaseAbstractType;
use Symfony\Component\Form\FormBuilderInterface;
class EditorialBlockFilterType extends BaseAbstractType
{
protected $options = array(
'data_class' => 'Trinity\Bundle\EditorialBlockBundle\Model\EditorialBlock',
'name' => 'editorialblock',
'csrf_protection' => false,
);
/**
* {@inheritdoc}
*/
public function buildForm(FormBuilderInterface $builder, array $options)
{
$builder->add('name');
}
}