class GridFieldHtmlFragment implements GridField_HTMLProvider (View source)

Facilitates adding arbitrary HTML to grid fields

Properties

protected string $targetFragment

Fragment to write the html fragment to.

protected string $htmlFragment

An HTML fragment to render

Methods

public
__construct(string $targetFragment, string $htmlFragment)

No description

public
array
getHTMLFragments(GridField $gridField)

No description

Details

__construct(string $targetFragment, string $htmlFragment)

No description

Parameters

string $targetFragment

Fragment to write the html fragment to.

string $htmlFragment

An HTML fragment to render

array getHTMLFragments(GridField $gridField)

No description

Parameters

GridField $gridField

Return Value

array