logicp 8 лет назад
Родитель
Сommit
d79adba2ac
1 измененных файлов с 1 добавлено и 2 удалено
  1. 1 2
      README.md

+ 1 - 2
README.md

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