1; ?> 'admin/departments', 'label' => t('All'), 'active' => $activeTenant === '', ], ]; foreach ($tenants ?? [] as $tenant) { $tenantUuid = (string) ($tenant['uuid'] ?? ''); if ($tenantUuid === '') { continue; } $listTabsItems[] = [ 'href' => 'admin/departments?tenant=' . rawurlencode($tenantUuid), 'label' => (string) ($tenant['description'] ?? ''), 'active' => $activeTenant === $tenantUuid, ]; } require templatePath('partials/app-list-tabs.phtml'); ?>