Problem/Motivation

The module uses procedural hooks in prometheus_exporter.module. Migrate to the OOP Hook API introduced in Drupal 11.1.

Steps to reproduce

Proposed resolution

  1. Create src/Hook/PrometheusExporterHooks.php using #[Hook] attributes with autowired dependency injection
  2. Update minimum version to Drupal 11.1

Remaining tasks

User interface changes

API changes

Data model changes

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

kim.pepper created an issue. See original summary.

kim.pepper’s picture

Issue summary: View changes

  • kim.pepper committed 05158ce1 on 2.x
    task: #3591462 Migrate procedural hooks to OOP Hook API
    
    By: kim.pepper
    
kim.pepper’s picture

Status: Active » Fixed

Committed to 2.x

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.