class EmbedDisableFunction extends BaseFunction

Allows the view to directly disable embed middleware.

Note this disables the embed middleware for the ENTIRE view, not just the partial or included template, but the entire output.

Methods

__construct()

No description

getFunctionOptions()

Return function options Allows the function to automatically escape HTML strings

getDI()

No description

static string
getEmbedControlTag()

Static function as it's called elsewhere.

getFunctionName()

No description

string
handle($opts)

Modify the cache output, mostly just disable it

Details

in BaseFunction at line 9
__construct()

at line 45
getFunctionOptions()

Return function options Allows the function to automatically escape HTML strings

in BaseFunction at line 23
getDI()

at line 15
static string getEmbedControlTag()

Static function as it's called elsewhere.

..

Return Value

string

at line 20
getFunctionName()

at line 35
string handle($opts)

Modify the cache output, mostly just disable it

{{ cacheManager({'disable': true}) }}

Parameters

$opts

Return Value

string Cache control tag