Drupal is a registered trademark of Dries Buytaert
Protected Pages 3.0.0 Major update available for module protected_pages (3.0.0). Commerce Core 3.3.8 Minor update available for module commerce (3.3.8). Search API HTML Element Filter 1.0.7 Minor update available for module search_api_html_element_filter (1.0.7). Layout Builder Reorder 2.0.1 Minor update available for module layout_builder_reorder (2.0.1). Ban 1.1.0 Minor update available for module ban (1.1.0). Field Formatter Range 2.0.0 Major update available for module field_formatter_range (2.0.0). Field Formatter Range 8.x-1.8 Minor update available for module field_formatter_range (8.x-1.8). Varbase Media Header 9.2.1 Minor update available for module varbase_media_header (9.2.1). Search API Solr 4.3.11 Module search_api_solr updated after 14 months of inactivity (4.3.11). Provus Mega Menu Module provus_mega_menu crossed 1,000 active installs.

Agreement

352 sites Security covered
View on drupal.org

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.

Activity

Total releases
3
First release
Sep 2025
Latest release
1 month ago
Releases (12 mo)
3 ▲ from 0
Maintenance
Active

Release Timeline

Releases

Version Type Release date
4.0.x-dev Dev Jun 11, 2026
3.0.3 Stable May 21, 2026
3.0.2 Stable Sep 22, 2025