public static function AuthorizationProfileForm::buildAjaxProviderRowForm in Authorization 8
Handles switching the selected provider plugin.
Parameters
array $form: An associative array containing the structure of the form.
\Drupal\Core\Form\FormStateInterface $form_state: The current state of the form.
Return value
array Returns the provider mappings.
File
- src/
Form/ AuthorizationProfileForm.php, line 385
Class
- AuthorizationProfileForm
- Authorization profile form.
Namespace
Drupal\authorization\FormCode
public static function buildAjaxProviderRowForm(array $form, FormStateInterface $form_state) : array {
return $form['provider_mappings'];
}