Skip to content
Snippets Groups Projects

Issue #3279534: Update drupal_get_path use of deprecation in the Ace Code Editor module

Merged Issue #3279534: Update drupal_get_path use of deprecation in the Ace Code Editor module
Merged Rajab Natshah requested to merge issue/ace_editor-3279534:3279534-start-a-2.0.x into 2.0.x
1 file
+ 2
2
Compare changes
  • Side-by-side
  • Inline
+ 2
2
@@ -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) {
Loading