You are here

public function PrivateMessageController::adminUninstallPage in Private Message 8

Same name and namespace in other branches
  1. 8.2 src/Controller/PrivateMessageController.php \Drupal\private_message\Controller\PrivateMessageController::adminUninstallPage()

The page for preparing to uninstall the module.

Overrides PrivateMessageControllerInterface::adminUninstallPage

1 string reference to 'PrivateMessageController::adminUninstallPage'
private_message.routing.yml in ./private_message.routing.yml
private_message.routing.yml

File

src/Controller/PrivateMessageController.php, line 159

Class

PrivateMessageController
Private message page controller. Returns render arrays for the page.

Namespace

Drupal\private_message\Controller

Code

public function adminUninstallPage() {
  return [
    '#prefix' => '<div id="private_message_admin_uninstall_page">',
    '#suffix' => '</div>',
    'form' => $this->formBuilder
      ->getForm('Drupal\\private_message\\Form\\AdminUninstallForm'),
  ];
}