/**
* {@inheritDoc}
*/
public function buildForm(FormBuilderInterface $builder, array $options)
{
parent::buildForm($builder, $options);
$builder->add('workflowStage');
// TODO: Fix the admin interface to not send this junk (not required for snippets)
$builder->add('redirectType', 'text', ['mapped' => false]);
$builder->add('resourceSegment', 'text', ['mapped' => false]);
$builder->add('navigationContexts', 'text', ['mapped' => false]);
$builder->add('shadowLocaleEnabled', 'text', ['mapped' => false]);
}