Remove the deprecated function "module_load_include" from hook_help

Created on 12 January 2023, over 1 year ago
Updated 18 January 2023, over 1 year ago

Problem/Motivation

When going through the modules code, found reference to the deprecated function "module_load_include" in file vwo.module function hook_help(). Requesting to replace the function with the suggested alternative \Drupal::moduleHandler()->loadInclude($module, $type, $name = NULL);.

More Details

Steps to reproduce

Check the file vwo.module

Proposed resolution

Replace with \Drupal::moduleHandler()->loadInclude($module, $type, $name = NULL);.

Remaining tasks

Apply the patch and test

User interface changes

N/A

API changes

N/A

Data model changes

N/A

📌 Task
Status

Fixed

Version

1.0

Component

Code

Created by

🇮🇳India vishwac9

Live updates comments and jobs are added and updated live.
  • Novice

    It would make a good project for someone who is new to the Drupal contribution process. It's preferred over Newbie.

Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

No activities found.

Production build 0.69.0 2024