You are here

public function MessageController::deleteMultiple in Message UI 8

Generates form output for deleting of multiple message entities.

Return value

array An array as expected by drupal_render().

File

src/Controller/MessageController.php, line 90

Class

MessageController
Controller for adding messages.

Namespace

Drupal\message_ui\Controller

Code

public function deleteMultiple() {

  // @todo - create the path corresponding to below.
  // From devel module - admin/config/development/message_delete_multiple.
  // @todo pass messages to be deleted in args?
  $build = \Drupal::formBuilder()
    ->getForm('Drupal\\message_ui\\Form\\DeleteMultiple');
  return $build;
}