Drupal 8 Message Stack documentation

Introduction

Information on the implementation of Message Stack in Drupal 8. Message Stack is comprised of Message, Message Notify and Message Subscribe. Development is performed on GitHub for those modules.

Message

The message table itself does not contain many columns and only requires the template bundle id to be created as you will see below.

Creating Message Instances

The Message module does not come with a user interface for creating messages. Partly, this is because the primary purpose of the module is as a logging utility. The other reason is to leave developers the complete flexibility to create messages according to their specific requirements. The following code snippet provides a basic example of how to create a message.

Drupal 7:

Subscribe with RSS Subscribe to RSS - create message