Featuretoggle::_construct()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 8
Code Lines 6

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
c 1
b 0
f 0
dl 0
loc 8
rs 9.4285
cc 1
eloc 6
nc 1
nop 0
1
<?php
2
3
namespace Jcowie\FeatureToggle\Block\Adminhtml;
4
5
class Featuretoggle extends \Magento\Backend\Block\Widget\Grid\Container
6
{
7
    protected function _construct()
8
    {
9
        $this->_controller = 'adminhtml';
10
        $this->_blockGroup = 'Jcowie_Featuretoggle';
11
        $this->_headerText = __('Feature Toggles');
12
        $this->_addButtonLabel = __('Add New Feature Toggle');
13
        parent::_construct();
14
    }
15
}
16