24 lines
582 B
PHP
24 lines
582 B
PHP
|
<?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');
|
|||
|
}
|
|||
|
}
|