You are here

public static function MessageMultipleDeleteForm::deleteMessagesFinish in Message UI 8

Notify the people the messages were deleted.

File

src/Form/MessageMultipleDeleteForm.php, line 146

Class

MessageMultipleDeleteForm
Class MessageMultipleDeleteForm.

Namespace

Drupal\message_ui\Form

Code

public static function deleteMessagesFinish() {
  \Drupal::messenger()
    ->addMessage(t('The messages were deleted.'));
}