'#description'=>t('This will enable Honeypot protection for ALL forms on this site, regardless of the settings in the Honeypot enabled forms section below.'),
'#description'=>t("The name of the Honeypot form field. It's usually most effective to use a generic name like email, homepage, or name, but this should be changed if it interferes with fields that are already in your forms. Must not contain spaces or special characters."),
'#description'=>t('Minimum time required before form should be considered entered by a human instead of a bot. Set to 0 to disable. <strong>Page caching will be disabled if there is a form protected by time limit on the page.</strong>'),
'#description'=>t('This will enable Honeypot protection for ALL forms on this site, regardless of the settings in the Honeypot enabled forms section below.'),
'#description'=>t('Enable Honeypot protection for ALL forms on this site (it is best to only enable Honeypot for the forms you need below).'),
$form['configuration']['protect_all_forms']['#description'].='<br />'.t('<strong>Page caching will be disabled on any page where a form is present if the Honeypot time limit is not set to 0.</strong>');
$form['configuration']['log']=array(
'#type'=>'checkbox',
'#title'=>t('Log blocked form submissions'),
...
...
@@ -77,12 +78,13 @@ class HoneypotSettingsController implements FormInterface {
$form['configuration']['time_limit']=array(
'#type'=>'textfield',
'#title'=>t('Honeypot time limit'),
'#description'=>t('Minimum time required before form should be considered entered by a human instead of a bot. Set to 0 to disable. <strong>Page caching will be disabled if there is a form protected by time limit on the page.</strong>'),
'#description'=>t('Minimum time required before form should be considered entered by a human instead of a bot. Set to 0 to disable.'),
$form['configuration']['time_limit']['#description'].='<br />'.t('<strong>Page caching will be disabled if there is a form protected by time limit on the page.</strong>');