The commit 08a3b93 has debug code.

+/**
+ * Implements hook_preprocess_HOOK() for form-element-label.html.twig.
+ */
+function bootstrap_barrio_preprocess_form_element_label(&$variables) {
+  $element = $variables['element'];
+  print_r($element['#type']);
+}
+

Needs to remove: print_r($element['#type']); from dev branch.

Comments

oriol_e9g created an issue. See original summary.

oriol_e9g’s picture

Title: Notice: Undefined index: #type a bootstrap_barrio_preprocess_form_element_label() » Notice: Undefined index: #type a bootstrap_barrio_preprocess_form_element_label()
Issue summary: View changes
hatuhay’s picture

Status: Needs work » Fixed

  • hatuhay committed 927edf9 on 8.x-4.x
    Issue #3032326 by oriol_e9g: Notice: Undefined index: #type a...

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.