Sminnee\ApiKey\GridFieldAddApiKeyButton
Adds the API key creation button to a GridField
Synopsis
class GridFieldAddApiKeyButton
implements
GridField_HTMLProvider,GridField_ActionProvider
{
- // members
- protected $targetFragment;
- // methods
- public void __construct()
- public void getHTMLFragments()
- public void getActions()
- public void handleAction()
Hierarchy
Implements
- SilverStripe\Forms\GridField\GridField_HTMLProvider
- SilverStripe\Forms\GridField\GridField_ActionProvider
Members
protected
-
$targetFragment
Fragment to write the button to
Methods
public
- __construct()
- getActions()
- getHTMLFragments() — Place the export button in a <p> tag below the field
- handleAction()