Fix module installation for Drupal 10 compatibility.

Created on 7 October 2023, over 1 year ago
Updated 8 October 2023, over 1 year ago

Problem/Motivation

A problem with module installation was introduced recently.
dosd_install() contains drupal_get_path() call that was removed from D10.
Module installation fails.

Steps to reproduce

Try to install the module

Proposed resolution

Replace drupal_get_path() call with __DIR__

🐛 Bug report
Status

Fixed

Component

Code

Created by

🇷🇸Serbia SAVEL

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024