From ab1ae9467352c1c80b497e97a43330bd8237ae00 Mon Sep 17 00:00:00 2001 From: arsh244 <arsh244s@gmail.com> Date: Tue, 3 Jan 2023 12:42:55 +0530 Subject: [PATCH] filename bug fixes --- rest_api_authentication.info.yml | 6 +++++- rest_api_authentication.info.yml.bak | 6 ------ src/Form/miniorangeAPIAuth.php | 4 ++-- src/setupAuthenticationForm.php | 2 +- 4 files changed, 8 insertions(+), 10 deletions(-) delete mode 100644 rest_api_authentication.info.yml.bak diff --git a/rest_api_authentication.info.yml b/rest_api_authentication.info.yml index 12b3bf8..11aadb1 100644 --- a/rest_api_authentication.info.yml +++ b/rest_api_authentication.info.yml @@ -2,4 +2,8 @@ name: 'REST & JSON API Authentication' type: module core_version_requirement: ^9.3 || ^10 description: 'Drupal API Authentication module secures unauthorized access to your Drupal site APIs using different API authentication methods.' -configure: rest_api_authentication.auth_settings \ No newline at end of file +configure: rest_api_authentication.auth_settings +# Information added by Drupal.org packaging script on 2022-12-20 +version: '2.0.1' +project: 'rest_api_authentication' +datestamp: 1671539472 diff --git a/rest_api_authentication.info.yml.bak b/rest_api_authentication.info.yml.bak deleted file mode 100644 index 212679b..0000000 --- a/rest_api_authentication.info.yml.bak +++ /dev/null @@ -1,6 +0,0 @@ -name: 'REST & JSON API Authentication' -type: module -core: 8.x -core_version_requirement: ^9.3 || ^10 -description: 'Drupal API Authentication module secures unauthorized access to your Drupal site APIs using different API authentication methods.' -configure: rest_api_authentication.auth_settings \ No newline at end of file diff --git a/src/Form/miniorangeAPIAuth.php b/src/Form/miniorangeAPIAuth.php index b83e415..46f3939 100644 --- a/src/Form/miniorangeAPIAuth.php +++ b/src/Form/miniorangeAPIAuth.php @@ -9,7 +9,7 @@ namespace Drupal\rest_api_authentication\Form; use Drupal\rest_api_authentication\AdvancedSettingsForm; use Drupal\rest_api_authentication\CustomerSetupForm; use Drupal\rest_api_authentication\RequestForDemoForm; -use Drupal\rest_api_authentication\SetupAuthenticationForm; +use Drupal\rest_api_authentication\setupAuthenticationForm; use Drupal\rest_api_authentication\Utilities; use Drupal\rest_api_authentication\UpgradePlansForm; use Drupal\Core\Form\FormStateInterface; @@ -48,7 +48,7 @@ class miniorangeAPIAuth extends FormBase { /** * builds and inserts the Setup Authentication Method form */ - SetupAuthenticationForm::insertForm($form, $form_state); + setupAuthenticationForm::insertForm($form, $form_state); /** * builds and inserts the Advanced Settings form diff --git a/src/setupAuthenticationForm.php b/src/setupAuthenticationForm.php index 7105cb3..3587d28 100644 --- a/src/setupAuthenticationForm.php +++ b/src/setupAuthenticationForm.php @@ -4,7 +4,7 @@ namespace Drupal\rest_api_authentication; use Drupal\Core\Form\FormStateInterface; use Drupal\rest_api_authentication\MiniorangeApiAuthConstants; -class SetupAuthenticationForm{ +class setupAuthenticationForm{ public static function insertForm(array &$form, FormStateInterface $form_state){ global $base_url; $form['markup_library_3'] = array( -- GitLab