diff --git a/DependencyInjection/Compiler/FormTwigTemplateCompilerPass.php b/DependencyInjection/Compiler/FormTwigTemplateCompilerPass.php index ba6a0076..414109c9 100644 --- a/DependencyInjection/Compiler/FormTwigTemplateCompilerPass.php +++ b/DependencyInjection/Compiler/FormTwigTemplateCompilerPass.php @@ -42,6 +42,10 @@ public function process(ContainerBuilder $container) array_splice($parameter, ++$key, 0, array($this->telBootstrapLayout)); } elseif (($key = array_search('bootstrap_3_layout.html.twig', $parameter)) !== false) { array_splice($parameter, ++$key, 0, array($this->telBootstrapLayout)); + } elseif (($key = array_search('bootstrap_4_horizontal_layout.html.twig', $parameter)) !== false) { + array_splice($parameter, ++$key, 0, array($this->telBootstrapLayout)); + } elseif (($key = array_search('bootstrap_4_layout.html.twig', $parameter)) !== false) { + array_splice($parameter, ++$key, 0, array($this->telBootstrapLayout)); } elseif (($key = array_search('form_div_layout.html.twig', $parameter)) !== false) { array_splice($parameter, ++$key, 0, array($this->telLayout)); } else {