You are here

protected property MessagesContext::$messages in Better Messages 8

Current status messages.

If this property is NULL, it means we haven't hit the rendering yet and current messages can be queried from Drupal core. Otherwise the currently rendered messages will be stored in here.

Type: array

File

src/ContextProvider/MessagesContext.php, line 27

Class

MessagesContext
Provides current Drupal status messages as a context.

Namespace

Drupal\better_messages\ContextProvider

Code

protected $messages = NULL;