public static function PullForm::buildAjaxChannelSelect in Entity Share 8.2
Same name and namespace in other branches
- 8.3 modules/entity_share_client/src/Form/PullForm.php \Drupal\entity_share_client\Form\PullForm::buildAjaxChannelSelect()
- 8 modules/entity_share_client/src/Form/PullForm.php \Drupal\entity_share_client\Form\PullForm::buildAjaxChannelSelect()
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 383
Class
- PullForm
- Form controller to pull entities.
Namespace
Drupal\entity_share_client\FormCode
public static function buildAjaxChannelSelect(array $form, FormStateInterface $form_state) {
// We just need to return the relevant part of the form here.
return $form['channel_wrapper'];
}