You are here

public static function RemoteForm::ajaxPluginForm in Entity Share 8.3

Callback function to return the credentials portion of the form.

Parameters

array $form: The rebuilt form.

\Drupal\Core\Form\FormStateInterface $formState: The current form state.

Return value

array A portion of the render array.

File

modules/entity_share_client/src/Form/RemoteForm.php, line 218

Class

RemoteForm
Entity form of the remote entity.

Namespace

Drupal\entity_share_client\Form

Code

public static function ajaxPluginForm(array $form, FormStateInterface $formState) {
  return $form['auth']['data'];
}