|
@@ -5,7 +5,7 @@ Integration of Cesium JS 3D mapping software with Drupal 8
|
|
|
Be sure to stick this in your theme:
|
|
|
|
|
|
|
|
|
-:::PHP
|
|
|
+```
|
|
|
function myTheme_preprocess_page(&$variables) {
|
|
|
$langCode = \Drupal::languageManager()->getCurrentLanguage()->getId();
|
|
|
if (\Drupal::service('path.current')->getPath() === '/map') {
|
|
@@ -26,3 +26,4 @@ function myTheme_preprocess_page(&$variables) {
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
+```
|