2c2 < index 5613f5e..a3ca699 100644 --- > index 18e37f9..bfd9e25 100644 67c67 < index 1d7c684..9ab5bfb 100644 --- > index 1d7c684..9d8b1b1 100644 119c119 < + public function adminListing($header, $keys = NULL) { --- > + public function getAliasesForAdminListing($header, $keys = NULL) { 141c141 < +*@return --- > + * @return 155c155 < index d22fe66..4bfe5e9 100644 --- > index d22fe66..37c4435 100644 168c168 < @@ -33,22 +32,9 @@ function path_admin_overview($keys = NULL) { --- > @@ -33,22 +32,11 @@ function path_admin_overview($keys = NULL) { 188c188,190 < + foreach (\Drupal::service('path.crud')->adminListing($header, $keys) as $data) { --- > + /** @var \Drupal\core\Path\Path $path */ > + $path = \Drupal::service('path.crud'); > + foreach ($path->getAliasesForAdminListing($header, $keys) as $data) { 192c194 < @@ -230,19 +216,11 @@ function path_admin_form_validate($form, &$form_state) { --- > @@ -230,19 +218,11 @@ function path_admin_form_validate($form, &$form_state) { 214c216 < index cf20fa6..6bf975f 100644 --- > index 8880073..c695f05 100644 217c219 < @@ -146,15 +146,7 @@ function path_form_element_validate($element, &$form_state, $complete_form) { --- > @@ -131,15 +131,7 @@ function path_form_element_validate($element, &$form_state, $complete_form) {