Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
As noted by others, the form needs some work. saving works fine.
Notice: Undefined property: Drupal\authorization\Form\AuthorizationProfileForm::$providerPluginManager in Drupal\authorization\Form\AuthorizationProfileForm->getProviderPluginManager() (line 69 of modules/contrib/authorization/src/Form/AuthorizationProfileForm.php).
Notice: Undefined property: Drupal\authorization\Form\AuthorizationProfileForm::$consumerPluginManager in Drupal\authorization\Form\AuthorizationProfileForm->getConsumerPluginManager() (line 79 of modules/contrib/authorization/src/Form/AuthorizationProfileForm.php).
Strict warning: Declaration of Drupal\authorization\Provider\ProviderPluginBase::submitRowForm() should be compatible with Drupal\authorization\Plugin\ConfigurablePluginBase::submitRowForm(array &$form, Drupal\Core\Form\FormStateInterface $form_state) in include() (line 17 of modules/contrib/authorization/src/Provider/ProviderPluginBase.php).
Strict warning: Declaration of Drupal\ldap_authorization\Plugin\authorization\provider\LDAPAuthorizationProvider::buildRowDescription() should be compatible with Drupal\authorization\Plugin\ConfigurablePluginBase::buildRowDescription(array $form, Drupal\Core\Form\FormStateInterface $form_state) in include() (line 17 of modules/contrib/ldap/ldap_authorization/src/Plugin/authorization/Provider/LDAPAuthorizationProvider.php).
Strict warning: Declaration of Drupal\authorization\Consumer\ConsumerPluginBase::submitRowForm() should be compatible with Drupal\authorization\Plugin\ConfigurablePluginBase::submitRowForm(array &$form, Drupal\Core\Form\FormStateInterface $form_state) in include() (line 17 of modules/contrib/authorization/src/Consumer/ConsumerPluginBase.php).
Strict warning: Declaration of Drupal\authorization_drupal_roles\Plugin\authorization\consumer\DrupalRolesConsumer::submitRowForm() should be compatible with Drupal\authorization\Consumer\ConsumerPluginBase::submitRowForm(array &$form, Drupal\authorization\Form\SubFormState $form_state) in include() (line 20 of modules/contrib/authorization/authorization_drupal_roles/src/Plugin/authorization/Consumer/DrupalRolesConsumer.php).
Notice: Undefined property: Drupal\ldap_authorization\Plugin\authorization\provider\LDAPAuthorizationProvider::$consumer in Drupal\ldap_authorization\Plugin\authorization\provider\LDAPAuthorizationProvider->buildConfigurationForm() (line 81 of modules/contrib/ldap/ldap_authorization/src/Plugin/authorization/Provider/LDAPAuthorizationProvider.php).
Notice: Undefined property: Drupal\ldap_authorization\Plugin\authorization\provider\LDAPAuthorizationProvider::$mappings in Drupal\ldap_authorization\Plugin\authorization\provider\LDAPAuthorizationProvider->buildConfigurationForm() (line 110 of modules/contrib/ldap/ldap_authorization/src/Plugin/authorization/Provider/LDAPAuthorizationProvider.php).
Notice: Undefined property: Drupal\ldap_authorization\Plugin\authorization\provider\LDAPAuthorizationProvider::$useMappingsAsFilter in Drupal\ldap_authorization\Plugin\authorization\provider\LDAPAuthorizationProvider->buildConfigurationForm() (line 110 of modules/contrib/ldap/ldap_authorization/src/Plugin/authorization/Provider/LDAPAuthorizationProvider.php).
Notice: Undefined property: Drupal\ldap_authorization\Plugin\authorization\provider\LDAPAuthorizationProvider::$useFirstAttrAsGroupId in Drupal\ldap_authorization\Plugin\authorization\provider\LDAPAuthorizationProvider->buildConfigurationForm() (line 110 of modules/contrib/ldap/ldap_authorization/src/Plugin/authorization/Provider/LDAPAuthorizationProvider.php).
Notice: Undefined property: Drupal\authorization\Form\AuthorizationProfileForm::$provider in Drupal\authorization\Form\AuthorizationProfileForm->buildConditionsForm() (line 353 of modules/contrib/authorization/src/Form/AuthorizationProfileForm.php).
Notice: Undefined property: Drupal\authorization\Form\AuthorizationProfileForm::$consumer in Drupal\authorization\Form\AuthorizationProfileForm->buildConditionsForm() (line 356 of modules/contrib/authorization/src/Form/AuthorizationProfileForm.php).
Notice: Undefined property: Drupal\authorization\Form\AuthorizationProfileForm::$synchOnLogon in Drupal\authorization\Form\AuthorizationProfileForm->buildConditionsForm() (line 372 of modules/contrib/authorization/src/Form/AuthorizationProfileForm.php).
Notice: Undefined property: Drupal\ldap_authorization\Plugin\authorization\provider\LDAPAuthorizationProvider::$revokeProviderProvisioned in Drupal\authorization\Form\AuthorizationProfileForm->buildConditionsForm() (line 387 of modules/contrib/authorization/src/Form/AuthorizationProfileForm.php).
Notice: Undefined property: Drupal\ldap_authorization\Plugin\authorization\provider\LDAPAuthorizationProvider::$regrantProviderProvisioned in Drupal\authorization\Form\AuthorizationProfileForm->buildConditionsForm() (line 393 of modules/contrib/authorization/src/Form/AuthorizationProfileForm.php).
Comment | File | Size | Author |
---|---|---|---|
#2 | 2751729-2.patch | 1.89 KB | webflo |
Comments
Comment #2
webflo CreditAttribution: webflo at UEBERBIT GmbH commentedThe type hint on FormStateInterface is enough. The SubFormState is not different from FormStateInterface
Comment #6
webflo CreditAttribution: webflo at UEBERBIT GmbH commented