/**
  * {@inheritdoc}
  */
 public function form(array $form, FormStateInterface $form_state)
 {
     $action = $this->entity;
     if (!$action->isNew()) {
         $form['#title'] = $this->t('Edit @type', array('@type' => $action->getType()));
     }
     $form = $this->plugin->buildConfigurationForm($form, $form_state);
     return parent::form($form, $form_state, $action);
 }