Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
Public Member Functions
InlineInterface Interface Reference
Inheritance diagram for InlineInterface:
Inline Proxy

Public Member Functions

 getAdditionalHtmlAttribute ($tagName=null)
 
 isAllowed ()
 
 processResponseBody (&$body, $isJson=false)
 
 getParser ()
 

Detailed Description

Inline translation interface

@api

Since
100.0.2

Definition at line 14 of file InlineInterface.php.

Member Function Documentation

◆ getAdditionalHtmlAttribute()

getAdditionalHtmlAttribute (   $tagName = null)

Returns additional html attribute if needed by client.

Parameters
mixed$tagName
Returns
mixed

Implemented in Inline, and Proxy.

◆ getParser()

getParser ( )

Retrieve Inline Parser instance

Returns
Inline\ParserInterface

Implemented in Inline, and Proxy.

◆ isAllowed()

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: