You are here

public static function PullForm::buildAjaxEntitiesSelectTable in Entity Share 8.2

Same name and namespace in other branches
  1. 8.3 modules/entity_share_client/src/Form/PullForm.php \Drupal\entity_share_client\Form\PullForm::buildAjaxEntitiesSelectTable()
  2. 8 modules/entity_share_client/src/Form/PullForm.php \Drupal\entity_share_client\Form\PullForm::buildAjaxEntitiesSelectTable()

Ajax callback.

Parameters

array $form: The form array.

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

Return value

array Subform.

File

modules/entity_share_client/src/Form/PullForm.php, line 399

Class

PullForm
Form controller to pull entities.

Namespace

Drupal\entity_share_client\Form

Code

public static function buildAjaxEntitiesSelectTable(array $form, FormStateInterface $form_state) {

  // We just need to return the relevant part of the form here.
  return $form['channel_wrapper']['entities_wrapper'];
}