added filter for global activities (#614)

This commit is contained in:
Kevin Papst
2019-03-05 01:42:06 +01:00
committed by GitHub
parent 642db480ce
commit bce85b04d6
12 changed files with 21 additions and 75 deletions

View File

@@ -82,7 +82,7 @@ abstract class AbstractToolbarForm extends AbstractType
* @param FormBuilderInterface $builder
* @param null|string $label
*/
protected function addVisibilityChoice(FormBuilderInterface $builder, ?string $label = null)
protected function addVisibilityChoice(FormBuilderInterface $builder, string $label = 'label.visible')
{
$builder->add('visibility', VisibilityType::class, [
'required' => false,