Loading entity_translation_unified_form.module +2 −1 Original line number Diff line number Diff line Loading @@ -77,7 +77,8 @@ function entity_translation_unified_form_page_attachments(array &$page) { if (entity_translation_unified_form_sbs_enabled('node', $bundle)) { // Get the CSS for the current theme. $theme = \Drupal::service('theme.manager')->getActiveTheme()->getName(); if (file_exists(drupal_get_path('module', 'entity_translation_unified_form') . "/css/etuf-side-by-side-$theme.css")) { $path_to_etuf = \Drupal::service('extension.path.resolver')->getPath('module', 'entity_translation_unified_form'); if (file_exists($path_to_etuf . "/css/etuf-side-by-side-$theme.css")) { $page['#attached']['library'][] = 'entity_translation_unified_form/etuf-' . $theme; } else { Loading Loading
entity_translation_unified_form.module +2 −1 Original line number Diff line number Diff line Loading @@ -77,7 +77,8 @@ function entity_translation_unified_form_page_attachments(array &$page) { if (entity_translation_unified_form_sbs_enabled('node', $bundle)) { // Get the CSS for the current theme. $theme = \Drupal::service('theme.manager')->getActiveTheme()->getName(); if (file_exists(drupal_get_path('module', 'entity_translation_unified_form') . "/css/etuf-side-by-side-$theme.css")) { $path_to_etuf = \Drupal::service('extension.path.resolver')->getPath('module', 'entity_translation_unified_form'); if (file_exists($path_to_etuf . "/css/etuf-side-by-side-$theme.css")) { $page['#attached']['library'][] = 'entity_translation_unified_form/etuf-' . $theme; } else { Loading