- Issue created by @jaime@gingerrobot.com
- 🇦🇺Australia jaime@gingerrobot.com
Example from: drupal_get_path is removed from Drupal 10 must be replaced
https://www.drupal.org/project/entity_translation_unified_form/issues/32... →
+ $path_to_etuf = \Drupal::service('extension.path.resolver')->getPath('module', 'entity_translation_unified_form'); + if (file_exists($path_to_etuf . "/css/etuf-side-by-side-$theme.css")) {
- Merge request !2Issue #3366902: Undefined function drupal_get_path error on ECK mapbox field edit page → (Open) created by Unnamed author
- Status changed to Needs review
over 1 year ago 11:26am 16 June 2023 - 🇦🇺Australia jaime@gingerrobot.com
OK there is another error now :) I'll go commit the fix for this one.
The website encountered an unexpected error. Please try again later.
Error: Call to undefined function Drupal\mapbox_field\Plugin\Field\FieldFormatter\drupal_get_path() in Drupal\mapbox_field\Plugin\Field\FieldFormatter\MapboxFormatter->viewElements() (line 114 of modules/contrib/mapbox_field/src/Plugin/Field/FieldFormatter/MapboxFormatter.php)
- Issue was unassigned.
- 🇮🇳India roshni27
The solution provided above resolved the issue, and it's now ready to move to the "+1 RTBC" .
-
ahmed.raza →
committed 1d0a4388 on 1.0.x
Issue #3366902: Undefined function drupal_get_path error on ECK mapbox...
-
ahmed.raza →
committed 1d0a4388 on 1.0.x
- Status changed to Fixed
9 months ago 4:40pm 15 February 2024 - 🇵🇰Pakistan Ahmed.Raza
Thanks Jaime, though the solution needed some polishing which I've done. The new release 1.0.7 contains this fix.
- Status changed to Fixed
9 months ago 4:40pm 15 February 2024