Skip to content

Commit 5d54f39

Browse files
author
Bohdan Korablov
committed
MAGETWO-61786: Implementation
1 parent 97e928b commit 5d54f39

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

app/code/Magento/Config/Model/Config/Structure/ElementVisibilityComposite.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,8 @@ class ElementVisibilityComposite implements ElementVisibilityInterface
2222
private $visibility = [];
2323

2424
/**
25-
* @param ElementVisibilityInterface[] $visibility List of objects which implement ElementVisibilityInterface.
25+
* @param ElementVisibilityInterface[] $visibility List of objects which define visibility status of form elements
26+
* under its own conditions.
2627
* @throws ConfigurationMismatchException It is thrown if some object from list $visibility
2728
* implements the wrong interface.
2829
*/

app/code/Magento/Config/Model/Config/Structure/ElementVisibilityInterface.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
/**
99
* Checks visibility status of form elements on Stores > Settings > Configuration page in Admin Panel
10-
* by their paths in the structure.
10+
* by their paths in the system.xml structure.
1111
*/
1212
interface ElementVisibilityInterface
1313
{
@@ -21,15 +21,15 @@ interface ElementVisibilityInterface
2121
/**
2222
* Check whether form element is disabled by path.
2323
*
24-
* @param string $path The path of form element in the structure
24+
* @param string $path The path of form element in the system.xml structure
2525
* @return bool
2626
*/
2727
public function isDisabled($path);
2828

2929
/**
30-
* Check whether form element is hidden from form by path.
30+
* Check whether form element is hidden in form by path.
3131
*
32-
* @param string $path The path of form element in the structure
32+
* @param string $path The path of form element in the system.xml structure
3333
* @return bool
3434
*/
3535
public function isHidden($path);

0 commit comments

Comments
 (0)