Skip to main content
Drupal is a registered trademark of Dries Buytaert
Release: OpenID Connect / OAuth client 3.0.0-alpha9 New alpha version released for module openid_connect (3.0.0-alpha9). Release: Timelinr 1.0.1 Minor update available for module timelinr (1.0.1). Usage Milestone: Simplify Module simplify crossed 10,000 active installs. Usage Milestone: Views Reference Filter Module entityreference_filter crossed 10,000 active installs. Usage Milestone: Dropdown Language Module dropdown_language crossed 10,000 active installs. Usage Milestone: Paragraphs Browser Module paragraphs_browser crossed 10,000 active installs. Usage Milestone: OpenAPI Module openapi crossed 10,000 active installs. Usage Milestone: Decoupled Router Module decoupled_router crossed 10,000 active installs. Usage Milestone: Time Field for Drupal 8+ Module time_field crossed 10,000 active installs. Module Revived: Entityqueue Buttons 1.1.2 Module entityqueue_buttons updated after 8 months of inactivity (1.1.2).

Module Timer

No security coverage Drupal 10–11
View on drupal.org

The Module Timer module automatically uninstalls any Drupal module after a set period of time has passed since it was enabled. This is useful for managing temporary modules during development, testing, or for any module that only needs to be active for a limited duration.

The Module Timer module provides functionality for automatically uninstalling modules based on a specified duration. This allows site administrators to configure a time limit for how long a module should remain enabled on the site, after which it will be uninstalled automatically when the next cron is run.

The primary use case for this module is:

- Development to Production Transition: Developers can use this module when transitioning a site from a development or staging environment to production. Temporary modules needed during development can be set to uninstall automatically after a specified duration.

- Temporary Module Usage: Modules that are only required for a limited period (e.g., debugging tools, testing utilities) can be enabled temporarily and then removed automatically without manual intervention.

- Streamlined Site Maintenance: Helps maintain a clean production environment by ensuring that unnecessary modules do not remain enabled after their purpose has been fulfilled.

REQUIREMENTS

This module has the following dependency:

Select2: This module is required for providing a user-friendly search and selection interface for module options. It enhances the module selection process with advanced search capabilities and multi-select features.
Ensure the Select2 module is installed and enabled before using the Module Timer module. You can install it via Composer:

composer require drupal/select2

INSTALLATION

Install as you would normally install a contributed Drupal module.
See: https://www.drupal.org/node/895232 for further information.

CONFIGURATION

- Step #1: After installing the Module Timer module, navigate to the Module Timer List tab under the site’s configuration section.

- Step #2: On the Module Timer List page, you can view the currently configured timers for modules and their details.

- Step #3: To add a new timer, click on the Add Timer button. This will take you to a form where you can:
Select one or more modules to configure a timer for.
Specify the duration (in minutes) for which the selected modules should remain enabled.

Depends on

Dependencies of the latest stable release

  • select2 Drupal core

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
1
Tracked since
Feb 2025
Latest release
1 year ago
Releases (12 mo)
0 ▼ from 1
Maintenance
Dormant

Releases

Version Type Core Release date
1.0.0 Stable 10–11 Feb 5, 2025