silverstripe-spamprotection/tests/Stub/EditableSpamProtectionFieldTest_Protector.php

14 lines
299 B
PHP

<?php
class EditableSpamProtectionFieldTest_Protector implements SpamProtector, TestOnly
{
public function getFormField($name = null, $title = null, $value = null)
{
return new TextField($name, 'Foo', $value);
}
public function setFieldMapping($fieldMapping)
{
}
}