public function CreateTemplateForm::getContentTypes in GatherContent 8.5
Ajax callback for mapping multistep form.
Parameters
array $form:
\Drupal\Core\Form\FormStateInterface $form_state:
Return value
array Array of form elements.
File
- gathercontent_upload_ui/
src/ Form/ CreateTemplateForm.php, line 215
Class
Namespace
Drupal\gathercontent_upload_ui\FormCode
public function getContentTypes(array &$form, FormStateInterface $form_state) {
$form_state
->setRebuild(TRUE);
return $form['gathercontent']['content_type'];
}