-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDealerGoogleMap.php
executable file
·51 lines (46 loc) · 2.13 KB
/
DealerGoogleMap.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
<?php
/*************************************************************************************/
/* This file is part of the Thelia package. */
/* */
/* Copyright (c) OpenStudio */
/* email : [email protected] */
/* web : http://www.thelia.net */
/* */
/* For the full copyright and license information, please view the LICENSE.txt */
/* file that was distributed with this source code. */
/*************************************************************************************/
namespace DealerGoogleMap;
use Thelia\Core\Template\TemplateDefinition;
use Thelia\Module\BaseModule;
class DealerGoogleMap extends BaseModule
{
const MESSAGE_DOMAIN = "dealergooglemap";
const ROUTER = "router.dealergooglemap";
const CONF_API_KEY = "dealergooglemap_api_key";
public function getHooks()
{
return array(
array(
"type" => TemplateDefinition::FRONT_OFFICE,
"code" => "dealermap.stylesheet",
"title" => "Hook Map CSS",
"description" => "Hook to integrate CSS in map page",
"active" => true
),
array(
"type" => TemplateDefinition::FRONT_OFFICE,
"code" => "dealermap.after-javascript-include",
"title" => "Hook Map JS includes",
"description" => "Hook to integrate JS in map page",
"active" => true
),
array(
"type" => TemplateDefinition::FRONT_OFFICE,
"code" => "dealermap.javascript-initialization",
"title" => "Hook Map JS init",
"description" => "Hook to integrate JS initialization in map page",
"active" => true
)
);
}
}