diff --git a/drupal_seamless_cilogon.info.yml b/drupal_seamless_cilogon.info.yml index 12dda95..b280ff9 100644 --- a/drupal_seamless_cilogon.info.yml +++ b/drupal_seamless_cilogon.info.yml @@ -2,4 +2,4 @@ name: Drupal Seamless Cilogon description: Drupal Seamless Cilogon Module package: Custom type: module -core_version_requirement: ^9 || ^10 +core_version_requirement: ^10 || ^11 diff --git a/src/Controller/NcController.php b/src/Controller/NcController.php index f04677a..8fe7515 100644 --- a/src/Controller/NcController.php +++ b/src/Controller/NcController.php @@ -31,7 +31,7 @@ public function __construct(KillSwitch $kill_switch) { * {@inheritdoc} */ public static function create(ContainerInterface $container) { - return new static( + return new self( $container->get('page_cache_kill_switch') ); } diff --git a/src/Form/DrupalSeamlessCilogon.php b/src/Form/DrupalSeamlessCilogon.php index b2eddf6..f3d0c2e 100644 --- a/src/Form/DrupalSeamlessCilogon.php +++ b/src/Form/DrupalSeamlessCilogon.php @@ -100,7 +100,7 @@ public function getFormId() */ public function submitForm(array &$form, FormStateInterface $form_state) { - parent::submitForm($form, $form_state); + } /**