home map label

This commit is contained in:
2025-03-01 23:11:49 +01:00
parent 601a784163
commit 3a68d5a2c8
3 changed files with 6 additions and 1 deletions

View File

@@ -101,6 +101,7 @@ class SitesMap extends BlockBase {
],
'svg_mapsites' => [
'#theme' => 'svg_mapsites',
'#label' => "Les 10 sites de projet",
'#sites' => $sites_paths,
'#vpw' => $vp_w,
'#vph' => $vp_h,
@@ -117,6 +118,7 @@ class SitesMap extends BlockBase {
// '#markup' => $this->t('Hello, Sites Map!'),
// ];
}
public function getCacheMaxAge() {
return 0;
}