Commit 987eb2fa authored by Reena Raghavan's avatar Reena Raghavan

Modified Import Form

parent fd626e37
......@@ -64,13 +64,6 @@ public function validateForm(array &$form, FormStateInterface $form_state)
*/
public function submitForm(array &$form, FormStateInterface $form_state)
{
// Display result.
foreach ($form_state->getValues() as $key => $value) {
\Drupal::messenger()->addMessage(
$key .
': ' .
($key === 'text_format' ? $value['value'] : $value)
);
}
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment