SilverStripe\TagManager\SnippetProvider\RaygunSnippetProvider
A snippet provider that lets you add Raygun for the front-end JavaScript
Synopsis
class RaygunSnippetProvider
implements
SnippetProvider
{
- // methods
- public void getTitle()
- public void getParamFields()
- public void getSummary()
- public void getSnippets()
Hierarchy
Implements
Constants
Name | Value |
---|---|
ZONE_HEAD_START | 'start-head' |
ZONE_HEAD_END | 'end-head' |
ZONE_BODY_START | 'start-body' |
ZONE_BODY_END | 'end-body' |
Methods
public
- getParamFields() — Returns three fields: - ENV_APP_KEY, which is a checkbox allowing reuse of silverstripe/raygun module integration - USER_APP_KEY, which is a text input letting users to define raygun api key manually - HelpImage, which is a simple screenshot of the raygun UI showing where to look for the API key
- getSnippets()
- getSummary()
- getTitle()