File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed
app/code/Magento/PageBuilder
Ui/Component/UrlInput/Page
dev/tests/integration/testsuite/Magento/PageBuilder/Ui/Component/UrlInput/Page Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -92,7 +92,7 @@ public function render(array $params): array
92
92
->load ();
93
93
94
94
if ($ blocks ->count () === 0 ) {
95
- $ result ['error ' ] = sprintf (__ ('Block with ID: %s doesn \'t exist ' ), $ params ['block_id ' ]);
95
+ $ result ['error ' ] = sprintf (__ ('Block with ID: %s doesn \'t exist ' )-> render () , $ params ['block_id ' ]);
96
96
97
97
return $ result ;
98
98
}
Original file line number Diff line number Diff line change @@ -43,7 +43,7 @@ public function __construct(
43
43
}
44
44
45
45
/**
46
- * { @inheritdoc}
46
+ * @inheritdoc
47
47
*
48
48
* @return array
49
49
*/
@@ -59,7 +59,7 @@ public function toOptionArray() : array
59
59
$ this ->options [$ pageId ] = [
60
60
'value ' => $ pageId ,
61
61
'label ' => $ item ->getTitle (),
62
- 'identifier ' => sprintf (__ ('ID: %s ' ), $ pageId )
62
+ 'identifier ' => sprintf (__ ('ID: %s ' )-> render () , $ pageId )
63
63
];
64
64
}
65
65
}
Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ private function prepareExpectedResult() : array
34
34
$ options [$ pageId ] = [
35
35
'value ' => $ pageId ,
36
36
'label ' => $ item ->getTitle (),
37
- 'identifier ' => sprintf (__ ('ID: %s ' ), $ pageId )
37
+ 'identifier ' => sprintf (__ ('ID: %s ' )-> render () , $ pageId )
38
38
];
39
39
}
40
40
return $ options ;
You can’t perform that action at this time.
0 commit comments