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

Comments

vishwac9 created an issue. See original summary.

atul_ghate’s picture

Assigned: Unassigned » atul_ghate

I will provide a patch for this issue.

vishwac9’s picture

Issue tags: +Novice

adding the tag +novice

atul_ghate’s picture

StatusFileSize
new861 bytes

Please ignore this patch because I added the same file twice by mistake

atul_ghate’s picture

Assigned: atul_ghate » Unassigned
Status: Active » Needs review
StatusFileSize
new861 bytes

Please review the patch I have provided to resolve this issue.

atul_ghate’s picture

vishwac9’s picture

Status: Needs review » Reviewed & tested by the community

applies cleanly, thanks for the patch

prathamesh-vwo’s picture

Patch applied

prathamesh-vwo’s picture

Status: Reviewed & tested by the community » Fixed
vishwac9’s picture

Status: Fixed » Closed (fixed)

thanks all