- Status changed to Needs work
over 1 year ago 9:52am 5 May 2023 - π©πͺGermany chr.fritsch π©πͺπͺπΊπ
+++ b/tests/modules/select2_form_test/src/Form/Select2SettingsForm.php @@ -0,0 +1,175 @@ + if (\Drupal::hasService('library.libraries_directory_file_finder')) { + $path = \Drupal::service('library.libraries_directory_file_finder')->find('select2'); + } + elseif (function_exists('libraries_get_path')) { + $path = libraries_get_path('select2'); + }
No need for this. library.libraries_directory_file_finder is there since D8.9
Also getting back the configure link would be nice.