Problem/Motivation

Error: Call to undefined function drupal_get_path() in varbase_styleguide_styleguide_alter() (line 28 of modules/contrib/varbase_styleguide/varbase_styleguide.module).

Steps to reproduce

open style guide /admin/appearance/styleguide/THEME_NAME

Proposed resolution

  • Switch to support Drupal 10 extension path resolver and file repository services
  • Remove deprecation

Remaining tasks

  • ✅ File an issue about this project
  • ✅ Addition/Change/Update/Fix to this project
  • ✅ Testing to ensure no regression
  • ➖ Automated unit/functional testing coverage
  • ➖ Developer Documentation support on feature change/addition
  • ➖ User Guide Documentation support on feature change/addition
  • ➖ Accessibility and Readability
  • ✅ Code review from 1 Varbase core team member
  • ✅ Full testing and approval
  • ✅ Credit contributors
  • ✅ Review with the product owner
  • ✅ Update Release Notes and Update Helper on new feature change/addition
  • ✅ Release varbase-9.0.16, varbase_styleguide-9.0.9, varbase_styleguide-10.0.0-beta1

Varbase update type

  • ✅ No Update
  • ➖ Optional Update
  • ➖ Forced Update
  • ➖ Forced Update if Unchanged

User interface changes

  • N/A

API changes

  • N/A

Data model changes

  • N/A

Release notes snippet

  • Issue #3391046 by YazanMajadba: Fixed with a switch to support Drupal 10 extension path resolver and file repository services and remove deprecation
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

YazanMajadba created an issue. See original summary.

rajab natshah’s picture

Title: Call to undefined function drupal_get_path() with D10 » Fixed with a switch to support Drupal 10 extension path resolver as drupal_get_path() was deprecated
rajab natshah’s picture

Title: Fixed with a switch to support Drupal 10 extension path resolver as drupal_get_path() was deprecated » Fixed with a switch to support Drupal 10 extension path resolver and file repository services and remove deprecation
rajab natshah’s picture

Title: Fixed with a switch to support Drupal 10 extension path resolver and file repository services and remove deprecation » Fix with a switch to support Drupal 10 extension path resolver and file repository services and remove deprecation

rajab natshah’s picture

Issue summary: View changes

rajab natshah’s picture

Issue summary: View changes
Status: Needs review » Fixed
Issue tags: +varbase-9.0.16, +varbase_styleguide-9.0.9, +varbase_styleguide-10.0.0-beta1
rajab natshah’s picture

Issue summary: View changes
rajab natshah’s picture

Issue summary: View changes
rajab natshah’s picture

Issue summary: View changes

✅ Released varbase-9.0.16

Status: Fixed » Closed (fixed)

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