Change drupal_get_path deprecated function to become compatible with Drupal 10.
Notes
Call to deprecated function drupal_get_path(). Deprecated in drupal:9.3.0 and is removed from drupal:10.0.0. Use Drupal\Core\Extension\ExtensionPathResolver::getPath() instead.
[Drupal 10 support] https://github.com/contentacms/contenta_jsonapi/issues/421
Change drupal_get_path deprecated function to become compatible with Drupal 10.
Notes