diff --git a/rest_api_authentication.info.yml b/rest_api_authentication.info.yml index 12b3bf866a5fd00439e0661dcb852ff39b5e8a63..11aadb136b42913b4cc66825790dd14cfd7d6611 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 212679b4d36d801fd7e7488b865d26ea5cd8ef4c..0000000000000000000000000000000000000000 --- 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 b83e415042a823713877c135d0ed86b4f3eecce4..46f3939e834167c152862b9c48e5fa0dcb13a72e 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 7105cb3356d760255e7d307d58f177d4e73d6b18..3587d285e99a75a53eaa35ecd9b8697c2e64de7d 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(