TakeCustomerAccount   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 26
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

Changes 0
Metric Value
wmc 1
c 0
b 0
f 0
lcom 0
cbo 0
dl 0
loc 26
rs 10

1 Method

Rating   Name   Duplication   Size   Complexity  
A getHooks() 0 18 1
1
<?php
2
/*************************************************************************************/
3
/*      This file is part of the module TakeCustomerAccount                          */
4
/*                                                                                   */
5
/*      Copyright (c) OpenStudio                                                     */
6
/*      email : [email protected]                                                       */
7
/*      web : http://www.thelia.net                                                  */
8
/*                                                                                   */
9
/*      For the full copyright and license information, please view the LICENSE.txt  */
10
/*      file that was distributed with this source code.                             */
11
/*************************************************************************************/
12
13
namespace TakeCustomerAccount;
14
15
use Thelia\Core\Template\TemplateDefinition;
16
use Thelia\Module\BaseModule;
17
18
class TakeCustomerAccount extends BaseModule
19
{
20
    const MODULE_DOMAIN = "takecustomeraccount";
21
22
    /**
23
     * {@inheritdoc}
24
     */
25
    public function getHooks()
26
    {
27
        return [
28
            [
29
                "type" => TemplateDefinition::BACK_OFFICE,
30
                "code" => "take-customer-account.form",
31
                "title" => array(
32
                    "fr_FR" => "Module Take Customer Account, form",
33
                    "en_US" => "Module Take Customer Account, form",
34
                ),
35
                "description" => array(
36
                    "fr_FR" => "En haut du formulaire",
37
                    "en_US" => "Top of form",
38
                ),
39
                "active" => true
40
            ]
41
        ];
42
    }
43
}
44