Skip to content
Snippets Groups Projects
Commit a6d5dd1b authored by Mohammad Hawwari's avatar Mohammad Hawwari
Browse files

Issue #3139274 by pavnish, mhawwari, selva.swamy@gmail.com, josebc: Drupal 9 Readiness

parent 1fc02a49
No related branches found
No related tags found
No related merge requests found
......@@ -3,7 +3,8 @@ description: Enable having one store per country in Drupal Commerce
type: module
core: 8.x
core_version_requirement: ^8 || ^9
dependencies:
- commerce_store
- geoip
\ No newline at end of file
- geoip
......@@ -11,7 +11,6 @@
}
],
"require": {
"drupal/core": "~8.3",
"drupal/commerce": "~2.0",
"drupal/geoip": "~2.0"
}
......
......@@ -11,7 +11,7 @@ use Drupal\Core\Form\FormStateInterface;
use Drupal\Core\Url;
use Symfony\Component\DependencyInjection\ContainerInterface;
use Symfony\Component\HttpFoundation\RequestStack;
use Drupal\Core\Path\AliasManagerInterface;
use Drupal\path_alias\AliasManagerInterface;
use Drupal\Core\Path\CurrentPathStack;
class StoreSelectorForm extends FormBase {
......@@ -60,7 +60,7 @@ class StoreSelectorForm extends FormBase {
$container->get('entity_type.manager'),
$container->get('commerce_store.current_store'),
$container->get('request_stack'),
$container->get('path.alias_manager'),
$container->get('path_alias.manager'),
$container->get('path.current')
);
}
......@@ -113,4 +113,4 @@ class StoreSelectorForm extends FormBase {
$form_state->setRedirectUrl($url_string);
}
}
\ No newline at end of file
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment