public function NodeTabForm::ajaxUpdateRecipientHandlerSettings in Simplenews 8
Return the updated recipient handler settings form.
File
- src/
Form/ NodeTabForm.php, line 372
Class
- NodeTabForm
- Configure simplenews subscriptions of a user.
Namespace
Drupal\simplenews\FormCode
public function ajaxUpdateRecipientHandlerSettings($form, FormStateInterface $form_state) {
return empty($form['simplenews']['recipient_handler_settings']) ? array(
'#markup' => '<div id="recipient-handler-settings"></div>',
) : $form['simplenews']['recipient_handler_settings'];
}