PHPackages                             itk-dev/drupal\_admin\_message - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. itk-dev/drupal\_admin\_message

ActiveDrupal-module

itk-dev/drupal\_admin\_message
==============================

Drupal admin message

1.2.0(11mo ago)0944[1 PRs](https://github.com/itk-dev/drupal_admin_message/pulls)MITPHPCI passing

Since Nov 23Pushed 11mo ago3 watchersCompare

[ Source](https://github.com/itk-dev/drupal_admin_message)[ Packagist](https://packagist.org/packages/itk-dev/drupal_admin_message)[ RSS](/packages/itk-dev-drupal-admin-message/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (3)Dependencies (6)Versions (6)Used By (0)

Drupal admin message
====================

[](#drupal-admin-message)

Show message on admin routes.

[![Admin message](images/message.png "Admin message")](images/message.png)

Installation
------------

[](#installation)

```
composer require itk-dev/drupal_admin_message
vendor/bin/drush pm:install drupal_admin_message
```

Exclude the module from the configuration synchronization (cf. ):

```
# settings.local.php
$settings['config_exclude_modules'][] = 'drupal_admin_message';
```

Configuration
-------------

[](#configuration)

```
# settings.local.php

# Define one or more message blocks:
$settings['drupal_admin_message']['blocks'][] = 'This is a message';
$settings['drupal_admin_message']['blocks'][] = 'Some more info';

# Optionally override style (CSS)
$settings['drupal_admin_message']['css']['background-color'] = 'orange';
$settings['drupal_admin_message']['css']['color'] = 'white;';
```

The message can optionally be shown on *all* pages:

```
# settings.local.php
$settings['drupal_admin_message']['show_on_all_pages'] = TRUE;
```

Coding standards
----------------

[](#coding-standards)

```
docker compose run --rm phpfpm composer install
docker compose run --rm phpfpm vendor/bin/phpcbf
docker compose run --rm phpfpm vendor/bin/phpcs
```

```
docker compose run --rm markdownlint markdownlint '**/*.md'
```

Code analysis
-------------

[](#code-analysis)

Running static analyses on a Drupal module (may) require a full Drupal installation. Therefore we run code analysis using [the official Drupal docker image](https://hub.docker.com/_/drupal/) (see [scripts/base](scripts/base) for details).

```
./scripts/phpstan
./scripts/rector
```

###  Health Score

32

—

LowBetter than 72% of packages

Maintenance50

Moderate activity, may be stable

Popularity14

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity46

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~276 days

Total

3

Last Release

353d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/33924554?v=4)[ITK Development](/maintainers/itk-dev)[@itk-dev](https://github.com/itk-dev)

---

Top Contributors

[![rimi-itk](https://avatars.githubusercontent.com/u/11267554?v=4)](https://github.com/rimi-itk "rimi-itk (18 commits)")

### Embed Badge

![Health badge](/badges/itk-dev-drupal-admin-message/health.svg)

```
[![Health](https://phpackages.com/badges/itk-dev-drupal-admin-message/health.svg)](https://phpackages.com/packages/itk-dev-drupal-admin-message)
```

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
