WebAssetAttachBehaviorInterface

Web Asset Behavior interface

since

4.0.0

package

Joomla CMS

Methods

onAttachCallback

Method called when asset attached to the Document.

onAttachCallback(\Joomla\CMS\Document\Document doc) : 

Useful for Asset to add a Script options.

since

4.0.0

Arguments

doc

DocumentActive document

Response

void