You are here

public function PrivateMessageController::configPage in Private Message 8

Same name and namespace in other branches
  1. 8.2 src/Controller/PrivateMessageController.php \Drupal\private_message\Controller\PrivateMessageController::configPage()
1 string reference to 'PrivateMessageController::configPage'
private_message.routing.yml in ./private_message.routing.yml
private_message.routing.yml

File

src/Controller/PrivateMessageController.php, line 148

Class

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

Namespace

Drupal\private_message\Controller

Code

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