Skip to content
Snippets Groups Projects
Commit 98ac52fc authored by Rajab Natshah's avatar Rajab Natshah Committed by Gonzalo Torrevejano
Browse files

Issue #3279534 by Rajab Natshah: Start a 2.0.x branch to support Drupal 10 and...

Issue #3279534 by Rajab Natshah: Start a 2.0.x branch to support Drupal 10 and update all use of deprecation in the Ace Code Editor module
parent 75f52671
No related branches found
No related tags found
1 merge request!3Issue #3279534: Update drupal_get_path use of deprecation in the Ace Code Editor module
......@@ -17,8 +17,8 @@ function ace_editor_lib_path() {
$paths_to_check = [
'/libraries/ace',
'/libraries/ace-builds',
'/' . drupal_get_path('module', 'ace_editor') . '/libraries/',
'/' . drupal_get_path('profile', \Drupal::installProfile()) . '/libraries/ace',
'/' . \Drupal::service('extension.list.module')->getPath('ace_editor') . '/libraries',
'/' . \Drupal::service('extension.list.profile')->getPath(\Drupal::installProfile()) . '/libraries/ace',
];
foreach ($paths_to_check as $path) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment