localgovdrupal / localgov_workflows

Default editorial workflow for LocalGov Drupal content.
GNU General Public License v2.0
0 stars 1 forks source link

Replace call to drupal_get_path with ExtensionPathResolver::getPath #28

Closed andybroomfield closed 2 years ago

andybroomfield commented 2 years ago

Fix #27

Use \Drupal::service('extension.path.resolver')->getPath('module', 'localgov_workflows') where required instead of deprectated drupal_get_path

finnlewis commented 2 years ago

Tests now pass, deprecated code checks refer to other projects.

Merging this in so we can make a release, as discussed earlier with @ekes and @andybroomfield .

Hope that's OK!