Custom modules for Pleiade local gov dashboard
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
pleiade-custom-modules/datatable_pleiade/datatable_pleiade.module

19 lines
563 B

<?php
/**
* quick check modules orders of execution (default all zero)
* As e must be sure this one fires after our main lemon modules
* see https://davidjguru.github.io/blog/drupal-tips-altering-order-of-execution-in-resources
*/
/**
* @param $variables
*/
function datatable_pleiade_preprocess_page(&$variables) {
// Add the JS library.
$variables['#attached']['library'][] = 'datatable_pleiade/datatable_pleiade_js';
// Add the CSS library.
$variables['#attached']['library'][] = 'datatable_pleiade/datatable_pleiade_css';
}