Inline translation interface
@api
- Since
- 100.0.2
Definition at line 14 of file InlineInterface.php.
◆ getAdditionalHtmlAttribute()
getAdditionalHtmlAttribute |
( |
|
$tagName = null | ) |
|
Returns additional html attribute if needed by client.
- Parameters
-
- Returns
- mixed
Implemented in Inline, and Proxy.
◆ getParser()
◆ isAllowed()
Check if inline translates is allowed
- Returns
- bool
Implemented in Inline, and Proxy.
◆ processResponseBody()
processResponseBody |
( |
& |
$body, |
|
|
|
$isJson = false |
|
) |
| |
Replace translation templates with HTML fragments
- Parameters
-
array | string | $body | |
bool | $isJson | |
- Returns
- \Magento\Framework\Translate\InlineInterface
Implemented in Inline, and Proxy.
The documentation for this interface was generated from the following file: