You are here

public function WebformHelpManagerInterface::getNotifications in Webform 8.5

Same name and namespace in other branches
  1. 6.x src/WebformHelpManagerInterface.php \Drupal\webform\WebformHelpManagerInterface::getNotifications()

Get notifications.

@internal Currently being used to display notifications related to updates.

Parameters

string $type: (optional) The message's type. These values are supported: 'info', 'status', 'warning', 'error'.

Return value

array An array of messages for specified message type or all notifications grouped by type.

1 method overrides WebformHelpManagerInterface::getNotifications()
WebformHelpManager::getNotifications in src/WebformHelpManager.php
Get notifications.

File

src/WebformHelpManagerInterface.php, line 86

Class

WebformHelpManagerInterface
Defines an interface for help classes.

Namespace

Drupal\webform

Code

public function getNotifications($type = NULL);