You are here

public static function AuthorizationProfileForm::buildAjaxConsumerRowForm in Authorization 8

Handles switching the selected consumer 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 consumer mappings in the form.

File

src/Form/AuthorizationProfileForm.php, line 419

Class

AuthorizationProfileForm
Authorization profile form.

Namespace

Drupal\authorization\Form

Code

public static function buildAjaxConsumerRowForm(array $form, FormStateInterface $form_state) : array {
  return $form['consumer_mappings'];
}