Skip to main content
drupalreleases

Use direct release data with your AI assistant.

Learn more

Info Messages

Security covered Under active development 67 sites

This module adds a new "info" message type to Drupal's built-in messenger service. This allows for distinct styling of informational messages, typically displayed in blue, which can be customized by your theme.

English

The default Drupal 8, 9 and 10 messenger service provides three types of message:

  • status
  • warning
  • error

Each of these has their own styling.

This module adds a new type of message:

  • info

With its own distinct styling. The default is blue, but like any styling, this can be changed by the active theme.

The new message can be displayed via the standard function:
\Drupal::messenger()->addMessage(t('Info text message.'), 'info');
Or
\Drupal::messenger()->addInfo('Info text message.');




Português

O modulo info message tem a intenção de permitir aos usuários e desenvolvedores Drupal a renderização de mensagens informativas com fundo azul claro, para isso basta chamar a função drupal_set_message e passar como segundo paramentro (tipo) a string "info".

Exemplo:
\Drupal::messenger()->addMessage('Evite excluir os diretórios de modules manualmente antes de executar a desinstalação', 'info', FALSE);

In Action:

Git Repository:
Gitlab Drupal: https://git.drupalcode.org/project/info_messages

Drupal 8–11

Ask your assistant about Info Messages

Check compatibility with your Drupal and PHP version, maintenance and security coverage, from current release data. How it works

Depends on

Dependencies of the latest stable release

  • system Drupal core >= 8.5

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
2
Tracked since
Feb 2023
Latest release
2 years ago
Releases (12 mo)
0
Maintenance
Slowing

Releases

Version Type Core PHP Release date
3.0.3 Stable 8–11 Mar 18, 2024
3.0.2 Stable 8–10 Feb 4, 2023