Unverified Commit 0afa6723 authored by Carson Oldson's avatar Carson Oldson Committed by Jonathan Hedstrom
Browse files

Issue #3246205 by carsoncho, hmendes: WSOD trying to access the /mass-contact page

parent 53cf17b1
Loading
Loading
Loading
Loading
+2 −0
Changes for src/Form/MassContactForm.php: 2 added lines, 0 removed lines.
Original line number Diff line number Diff line
@@ -456,7 +456,9 @@ class MassContactForm extends ContentEntityForm {
      $tasks[] = Link::createFromRoute($this->t('List current categories'), 'entity.mass_contact_category.collection')->toRenderable();
      $tasks[] = Link::createFromRoute($this->t('Add new category'), 'entity.mass_contact_category.add_form')->toRenderable();
      $tasks[] = Link::createFromRoute($this->t('Configure Mass Contact settings'), 'mass_contact.settings')->toRenderable();
      if ($this->moduleHandler->moduleExists('help')) {
        $tasks[] = Link::createFromRoute($this->t('Help'), 'help.page', ['name' => 'mass_contact'])->toRenderable();
      }

      $form['tasklist'] = [
        '#type' => 'details',