GridFieldLinkButton
class GridFieldLinkButton implements GridField_HTMLProvider (View source)
A button that contains a link to an URL.
Properties
protected | string | $targetFragment | Fragment to write the button to. |
|
protected | string | $link | URL link the button links out to. |
|
protected | string | $caption | Caption text for the button to show |
Methods
Details
__construct(string $link, $caption, string $targetFragment)
No description
array
getHTMLFragments(GridField $gridField)
Place the link button in a
tag above the field