Commit 98126a64 authored by Yas Naoi's avatar Yas Naoi
Browse files

Issue #3274115 by yas, baldwinlouie: Comply with Drupal coding standards (2)

parent b2d4d7dc
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -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']
    : [];
}