<?php

/**
 *@file
 *Contains \Drupal\qd30map\qd30map.module
 */

/**
 * @param $existing
 * @param $type
 * @param $theme
 * @param $path
 * @return array
 */
function qd30map_theme($existing, $type, $theme, $path) {
  return [

    'qd30map' => [
        'variables' => []
    ],
    'qd30mini' => [
        'variables' => []
    ]
  ];
}

function qd30map_page_attachments(&$page) {
//    $data = json_encode($page);
//
//    $page['#attached']['library'][] = 'qd30map/cesiumAdditions';
//    $page['#attached']['library'][] = 'qd30map/cesiumMini';

}