vars['pattern'] = null; unset($view->vars['attr']['pattern']); } /** * {@inheritdoc} */ public function getParent() { return TextType::class; } /** * {@inheritdoc} */ public function getBlockPrefix(): string { return 'file_picker'; } }