Skip to main content
drupalreleases

Use direct release data with your AI assistant.

Learn more

Agreement

Security covered Under active development 453 sites

This module allows administrators to present text-based agreements, such as terms of service, to users. Agreements can be displayed based on user roles and page visibility, and can be set to expire periodically. Users are prompted to accept the agreement after logging in, and will be redirected to accept it before accessing other pages.

Agreement allows the administrator to present text-based agreements (think "Terms of Service") to users based on page visibility and user role (including anonymous users). It supports multiple agreements and agreement expiration (e.g. yearly agreements).

The default agreement is presented to users immediately after login, and must be accepted before the user can navigate to another page. Users will still be able to access the homepage (<front>), /user/register, /user/logout, /user/reset, /admin/config/people/agreement without accepting the agreement; all other pages will redirect the user to the agreement acceptance form. Users may also revoke their acceptance to the agreement by visiting the agreement page.

The following options are configurable from the module's settings page:

  • User role(s) to which the agreement is restricted
  • The agreement page title
  • The agreement text
  • The agreement page URL
  • Page visibility to allow an agreement to restrict all pages or only some pages
  • The success & failure messages presented to the user
  • The checkbox & submit button texts

There are modules (Terms of Use and Legal) which provide similar functionality during registration. The Agreement module provides the functionality to show an agreement to an existing user base, without requiring the users to re-register, and

Project logo designed by Rahuly072.

Drupal 10–11

Ask your assistant about Agreement

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

  • filter Drupal core

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
6
Tracked since
Feb 2024
Latest release
4 months ago
Releases (12 mo)
2 ▲ from 1
Maintenance
Active

Release Timeline

Releases

Version Type Core PHP Release date
4.0.x-dev Dev 11 Jun 11, 2026
3.0.3 Stable 10–11 May 21, 2026
3.0.2 Stable 10–11 Sep 22, 2025
3.0.1 Stable 10–11 Jul 5, 2024
3.0.0 Stable 10–11 Jun 19, 2024
3.0.0-alpha3 Pre-release 9–10 Feb 9, 2024