You are here

public static function QuickNodeCloneEntitySettingsForm::fieldsCallback in Quick Node Clone 8

AJAX callback function to return the excluded fields part of the form.

Parameters

array $form: The form.

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

Return value

array The excluded fields form array.

File

src/Form/QuickNodeCloneEntitySettingsForm.php, line 204

Class

QuickNodeCloneEntitySettingsForm
Abstract class to configure how entities are cloned.

Namespace

Drupal\quick_node_clone\Form

Code

public static function fieldsCallback(array $form, FormStateInterface $form_state) {
  return $form['exclude']['fields'];
}