Fix module installation for Drupal 10 compatibility.

Created on 7 October 2023, almost 2 years ago
Updated 8 October 2023, almost 2 years 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