\GoogleReCaptchaField
Synopsis
class GoogleReCaptchaField
extends EditableFormField
{
- // members
- private static string $singular_name = 'Google reCAPTCHA Field';
- private static string $plural_name = 'Google reCAPTCHA Fields';
- private static bool $literal = true;
- private static $editor_config = NULL;
- private $recaptchaSiteKey = NULL;
- private $recaptchaSecretKey = NULL;
- // methods
- public void __construct()
- public FieldList getCMSFields()
- public void getFormField()
- private void getCallbackRoute()
- protected void updateFormField()
- public void showInReports()
- public void getIcon()
- private void getRecaptchaSiteKey()
- private void getRecaptchaSecretKey()
Hierarchy
Extends
- SilverStripe\UserForms\Model\EditableFormField
Tasks
Line | Task |
---|---|
42 | throw an exception if UDF module not included? |
67 | Refactor the GoogleReCaptchaField model into a regular form field (to match naming convention) |
68 | Re-name this class to something that follows the UserForms naming convention |
69 | Instantiate a GoogleReCaptchaField here, rather than a LiteralField |
Members
private
- $editor_config
—
string
Get the name of the editor config to use for HTML sanitisation. Defaults to the active config. - $literal
—
bool
Mark as literal only - $plural_name
- $recaptchaSecretKey
- $recaptchaSiteKey
- $singular_name