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 bafe4e2 commit 9cdb7bbCopy full SHA for 9cdb7bb
1 file changed
view/adminhtml/templates/grid/cell/html.phtml
@@ -0,0 +1,25 @@
1
+<?php
2
+declare(strict_types=1);
3
+
4
+use Magento\Framework\Escaper;
5
+use Magento\Framework\View\Element\Template;
6
7
+/** @version 0.6.3 */
8
+/** @var Escaper $escaper */
9
+/** @var Template $block */
10
+$value = $block->getValue();
11
+$emptyValue = $block->getEmptyValue();
12
13
+if (empty($value) && !empty($emptyValue)) {
14
+ $value = $emptyValue;
15
+}
16
17
+if (is_array($value)) {
18
+ $value = 'array';
19
20
21
+if (is_object($value)) {
22
+ $value = 'object';
23
24
+?>
25
+<?= /* @noEscape */ $value ?>
0 commit comments