function getLastNotification() {
			if (notifications.length) {
				return notifications[notifications.length - 1];
			}
		}
This class handles the creation of TinyMCE's notifications.

@class tinymce.notificationManager
@example
// Opens a new notification of type "error" with text "An error occurred."
tinymce.activeEditor.notificationManager.open({
   text: 'An error occurred.',
   type: 'error'
});