seo title field is not mandatory anymore
This commit is contained in:
@@ -44,13 +44,11 @@ trait SeoFieldsTrait
|
|||||||
if (! in_array('meta_title', $exclude))
|
if (! in_array('meta_title', $exclude))
|
||||||
$this->formBuilder
|
$this->formBuilder
|
||||||
->add('meta_title', 'text', array(
|
->add('meta_title', 'text', array(
|
||||||
'constraints' => array(
|
|
||||||
new NotBlank()
|
|
||||||
),
|
|
||||||
'label' => Translator::getInstance()->trans('Page Title'),
|
'label' => Translator::getInstance()->trans('Page Title'),
|
||||||
'label_attr' => array(
|
'label_attr' => array(
|
||||||
'for' => 'meta_title'
|
'for' => 'meta_title'
|
||||||
)
|
),
|
||||||
|
'required' => false
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user