Commit 8fa75fcf authored by Stefan Borchert's avatar Stefan Borchert
Browse files

Fix Drupal 9 deprecation errors.

parent 87bf6c5e
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -163,7 +163,7 @@ class ParagraphsSetForm extends EntityForm {
    $this->entity->set('paragraphs', $form_state->get('paragraphs'));
    parent::save($form, $form_state);

    drupal_set_message($this->t('Saved the %label Paragraphs set.', [
    $this->messenger->addMessage($this->t('Saved the %label Paragraphs set.', [
      '%label' => $this->entity->label(),
    ]));
    $form_state->setRedirect('entity.paragraphs_set.collection');