You are here

public function SalesforceAuthForm::ajaxUpdateSettings in Salesforce Suite 5.0.x

Same name and namespace in other branches
  1. 8.4 src/Form/SalesforceAuthForm.php \Drupal\salesforce\Form\SalesforceAuthForm::ajaxUpdateSettings()

AJAX callback to update the dynamic settings on the form.

Parameters

array $form: The form.

\Drupal\Core\Form\FormStateInterface $form_state: The form state.

Return value

array The element to update in the form.

File

src/Form/SalesforceAuthForm.php, line 114

Class

SalesforceAuthForm
Entity form for salesforce_auth.

Namespace

Drupal\salesforce\Form

Code

public function ajaxUpdateSettings(array &$form, FormStateInterface $form_state) {
  return $form['settings']['provider_settings'];
}