public function FormBase::getElementTypes in Form Builder 7.2
File
- src/
FormBase.php, line 385
Class
Namespace
Drupal\form_builderCode
public function getElementTypes() {
$types = array();
foreach ($this->elementArrays as $element) {
if (isset($element['#form_builder']['element_type'])) {
$types[$element['#form_builder']['element_type']] = TRUE;
}
}
return array_keys($types);
}