summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwebchick2013-08-27 03:35:50 (GMT)
committerwebchick2013-08-27 03:35:50 (GMT)
commitf8868be9ca3a3e88721d3bf713a1cceac366875b (patch)
tree92250edc6775179d42c567c502741704a2bfb673
parent9c8dc9395585b61596ffb04e5416fcd496a3db6e (diff)
Issue #1946426 by ramlev, pfrenssen, foopang, webflo, David Hernández, vijaycs85, tim.plunkett, disasm | mtift: Convert all of confirm_form() in language.admin.inc to the new form interface.
-rw-r--r--core/modules/language/lib/Drupal/language/Form/LanguageDeleteForm.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/core/modules/language/lib/Drupal/language/Form/LanguageDeleteForm.php b/core/modules/language/lib/Drupal/language/Form/LanguageDeleteForm.php
index e4f0eb1..b6003c5 100644
--- a/core/modules/language/lib/Drupal/language/Form/LanguageDeleteForm.php
+++ b/core/modules/language/lib/Drupal/language/Form/LanguageDeleteForm.php
@@ -8,7 +8,7 @@
namespace Drupal\language\Form;
use Drupal\Core\Entity\EntityConfirmFormBase;
-use Drupal\Core\Routing\PathBasedGeneratorInterface;
+use Drupal\Core\Routing\UrlGeneratorInterface;
use Symfony\Component\DependencyInjection\ContainerInterface;
use Symfony\Component\HttpFoundation\RedirectResponse;
use Symfony\Component\HttpFoundation\Request;
@@ -22,17 +22,17 @@ class LanguageDeleteForm extends EntityConfirmFormBase {
/**
* The urlGenerator service.
*
- * @var \Drupal\Core\Routing\PathBasedGeneratorInterface
+ * @var \Drupal\Core\Routing\UrlGeneratorInterface
*/
protected $urlGenerator;
/**
* Constructs a new LanguageDeleteForm object.
*
- * @param \Drupal\Core\Routing\PathBasedGeneratorInterface $url_generator
+ * @param \Drupal\Core\Routing\UrlGeneratorInterface $url_generator
* The url generator service.
*/
- public function __construct(PathBasedGeneratorInterface $url_generator) {
+ public function __construct(UrlGeneratorInterface $url_generator) {
$this->urlGenerator = $url_generator;
}