Document theme preprocess

This commit is contained in:
benjamin melançon 2019-10-04 10:41:25 -04:00
parent 042c8870d1
commit 21310dbb35

View file

@ -3,6 +3,12 @@
/**
* Preprocess functions for GEO site.
*/
/**
* Implements hook_preprocess_page_title();
*
* @param $variables
*/
function geofresco_preprocess_page_title(&$variables) {
// WE SHALL BE SHAMELESS.
if (!isset($variables['title']) || !is_array($variables['title'])) {