public static function ChannelForm::buildAjaxLanguageSelect in Entity Share 8.2
Same name and namespace in other branches
- 8.3 modules/entity_share_server/src/Form/ChannelForm.php \Drupal\entity_share_server\Form\ChannelForm::buildAjaxLanguageSelect()
- 8 modules/entity_share_server/src/Form/ChannelForm.php \Drupal\entity_share_server\Form\ChannelForm::buildAjaxLanguageSelect()
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_server/ src/ Form/ ChannelForm.php, line 203
Class
- ChannelForm
- Class ChannelForm.
Namespace
Drupal\entity_share_server\FormCode
public static function buildAjaxLanguageSelect(array $form, FormStateInterface $form_state) {
// We just need to return the relevant part of the form here.
return $form['bundle_wrapper']['language_wrapper'];
}