Loading cloud_orchestrator.profile +3 −1 Original line number Diff line number Diff line Loading @@ -146,5 +146,7 @@ function cloud_orchestrator_update_yml_definitions(array $files, $dir = '', $typ */ function cloud_orchestrator_preprocess_layout(&$variables) { // Set the tab_labels for the twig template. $variables['tab_labels'] = isset($variables['content']['#tab_labels']) ? $variables['content']['#tab_labels'] : []; $variables['tab_labels'] = !empty($variables['content']['#tab_labels']) ? $variables['content']['#tab_labels'] : []; } Loading
cloud_orchestrator.profile +3 −1 Original line number Diff line number Diff line Loading @@ -146,5 +146,7 @@ function cloud_orchestrator_update_yml_definitions(array $files, $dir = '', $typ */ function cloud_orchestrator_preprocess_layout(&$variables) { // Set the tab_labels for the twig template. $variables['tab_labels'] = isset($variables['content']['#tab_labels']) ? $variables['content']['#tab_labels'] : []; $variables['tab_labels'] = !empty($variables['content']['#tab_labels']) ? $variables['content']['#tab_labels'] : []; }