You are here

public function SalesforceAuthProviderPluginBase::submitConfigurationForm in Salesforce Suite 8.3

Same name and namespace in other branches
  1. 8.4 src/SalesforceAuthProviderPluginBase.php \Drupal\salesforce\SalesforceAuthProviderPluginBase::submitConfigurationForm()
  2. 5.0.x src/SalesforceAuthProviderPluginBase.php \Drupal\salesforce\SalesforceAuthProviderPluginBase::submitConfigurationForm()

Form submission handler.

Parameters

array $form: An associative array containing the structure of the plugin form as built by static::buildConfigurationForm().

\Drupal\Core\Form\FormStateInterface $form_state: The current state of the form. Calling code should pass on a subform state created through \Drupal\Core\Form\SubformState::createForSubform().

Overrides PluginFormInterface::submitConfigurationForm

1 call to SalesforceAuthProviderPluginBase::submitConfigurationForm()
SalesforceOAuthPlugin::submitConfigurationForm in src/Plugin/SalesforceAuthProvider/SalesforceOAuthPlugin.php
Form submission handler.
1 method overrides SalesforceAuthProviderPluginBase::submitConfigurationForm()
SalesforceOAuthPlugin::submitConfigurationForm in src/Plugin/SalesforceAuthProvider/SalesforceOAuthPlugin.php
Form submission handler.

File

src/SalesforceAuthProviderPluginBase.php, line 187

Class

SalesforceAuthProviderPluginBase
Shared methods for auth providers.

Namespace

Drupal\salesforce

Code

public function submitConfigurationForm(array &$form, FormStateInterface $form_state) {
  $this
    ->setConfiguration($form_state
    ->getValue('provider_settings'));
}