Loading src/HoneypotService.php +2 −0 Original line number Diff line number Diff line Loading @@ -7,6 +7,7 @@ use Drupal\Component\Utility\Crypt; use Drupal\Core\Cache\CacheBackendInterface; use Drupal\Core\Config\ConfigFactory; use Drupal\Core\Database\Connection; use Drupal\Core\DependencyInjection\DependencySerializationTrait; use Drupal\Core\Extension\ModuleHandlerInterface; use Drupal\Core\Form\FormStateInterface; use Drupal\Core\KeyValueStore\KeyValueExpirableFactory; Loading @@ -21,6 +22,7 @@ use Symfony\Component\HttpFoundation\RequestStack; * Provides a service to append Honeypot protection to forms. */ class HoneypotService implements HoneypotServiceInterface { use DependencySerializationTrait; use StringTranslationTrait; /** Loading Loading
src/HoneypotService.php +2 −0 Original line number Diff line number Diff line Loading @@ -7,6 +7,7 @@ use Drupal\Component\Utility\Crypt; use Drupal\Core\Cache\CacheBackendInterface; use Drupal\Core\Config\ConfigFactory; use Drupal\Core\Database\Connection; use Drupal\Core\DependencyInjection\DependencySerializationTrait; use Drupal\Core\Extension\ModuleHandlerInterface; use Drupal\Core\Form\FormStateInterface; use Drupal\Core\KeyValueStore\KeyValueExpirableFactory; Loading @@ -21,6 +22,7 @@ use Symfony\Component\HttpFoundation\RequestStack; * Provides a service to append Honeypot protection to forms. */ class HoneypotService implements HoneypotServiceInterface { use DependencySerializationTrait; use StringTranslationTrait; /** Loading