Skip to content
Snippets Groups Projects
Commit 3760e5df authored by baldwinlouie's avatar baldwinlouie Committed by Yas Naoi
Browse files

Issue #3229021 by baldwinlouie, yas: Fix an Internal Server Error: Declaration...

Issue #3229021 by baldwinlouie, yas: Fix an Internal Server Error: Declaration of TerraformVariableDeleteMultipleForm::getCancelUrl(): Url must be compatible with getCancelUrl(): TrustedCallbackInterface
parent abf1a965
No related branches found
No related tags found
No related merge requests found
......@@ -2,6 +2,7 @@
namespace Drupal\terraform\Form;
use Drupal\Core\Security\TrustedCallbackInterface;
use Drupal\Core\Url;
/**
......@@ -12,7 +13,7 @@ class TerraformVariableDeleteMultipleForm extends TerraformDeleteMultipleForm {
/**
* {@inheritdoc}
*/
public function getCancelUrl(): Url {
public function getCancelUrl(): TrustedCallbackInterface {
$route = \Drupal::routeMatch();
return new Url(
'entity.' . $this->entityTypeId . '.collection', [
......
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