We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f62e91d commit 7667c19Copy full SHA for 7667c19
src/View/LinkFormatter/LinkTrait.php
@@ -66,25 +66,4 @@ protected function conditionalLink(string $htmlLink)
66
'valueObj' => $this->getConfig('value'),
67
]);
68
}
69
-
70
- /*
71
- protected $displayCondition = <<<DISPLAY_CONDITION_SCRIPT
72
- function () {
73
- const displayCondition = :displayCondition
74
- return displayCondition(obj)
75
- }
76
- DISPLAY_CONDITION_SCRIPT;
77
78
- public function displayCondition(string $htmlLink)
79
- {
80
- if ($this->getConfig('displayCondition', true)) {
81
- return true;
82
83
84
- return Text::insert($this->conditionalLinkScript, [
85
- 'disable' => $this->getConfig('displayCondition'),
86
- ]);
87
88
- */
89
90
0 commit comments