File tree Expand file tree Collapse file tree 3 files changed +17
-2
lines changed
Backend/Block/System/Account/Edit
lib/internal/Magento/Framework/Data/Form/Element Expand file tree Collapse file tree 3 files changed +17
-2
lines changed Original file line number Diff line number Diff line change @@ -68,7 +68,7 @@ public function __construct(
68
68
}
69
69
70
70
/**
71
- * { @inheritdoc}
71
+ * @inheritdoc
72
72
*/
73
73
protected function _prepareForm ()
74
74
{
Original file line number Diff line number Diff line change 6
6
namespace Magento \User \Block \Role \Tab ;
7
7
8
8
/**
9
- * implementing now
9
+ * Info
10
10
*
11
11
* @SuppressWarnings(PHPMD.DepthOfInheritance)
12
12
*/
@@ -18,6 +18,8 @@ class Info extends \Magento\Backend\Block\Widget\Form\Generic implements \Magent
18
18
const IDENTITY_VERIFICATION_PASSWORD_FIELD = 'current_password ' ;
19
19
20
20
/**
21
+ * Get tab label
22
+ *
21
23
* @return \Magento\Framework\Phrase
22
24
*/
23
25
public function getTabLabel ()
@@ -26,6 +28,8 @@ public function getTabLabel()
26
28
}
27
29
28
30
/**
31
+ * Get tab title
32
+ *
29
33
* @return string
30
34
*/
31
35
public function getTabTitle ()
@@ -34,6 +38,8 @@ public function getTabTitle()
34
38
}
35
39
36
40
/**
41
+ * Can show tab
42
+ *
37
43
* @return bool
38
44
*/
39
45
public function canShowTab ()
@@ -42,6 +48,8 @@ public function canShowTab()
42
48
}
43
49
44
50
/**
51
+ * Is tab hidden
52
+ *
45
53
* @return bool
46
54
*/
47
55
public function isHidden ()
@@ -50,6 +58,8 @@ public function isHidden()
50
58
}
51
59
52
60
/**
61
+ * Before html rendering
62
+ *
53
63
* @return $this
54
64
*/
55
65
public function _beforeToHtml ()
@@ -60,6 +70,8 @@ public function _beforeToHtml()
60
70
}
61
71
62
72
/**
73
+ * Form initializatiion
74
+ *
63
75
* @return void
64
76
*/
65
77
protected function _initForm ()
Original file line number Diff line number Diff line change @@ -38,11 +38,14 @@ public function __construct(
38
38
}
39
39
40
40
/**
41
+ * Get field html
42
+ *
41
43
* @return mixed
42
44
*/
43
45
public function getHtml ()
44
46
{
45
47
$ this ->addClass ('input-text admin__control-text ' );
48
+
46
49
return parent ::getHtml ();
47
50
}
48
51
}
You can’t perform that action at this time.
0 commit comments