SilverStripe\Comments\Admin\CommentsGridFieldBulkAction\SpamHandler
A {@link Handler} for bulk marking comments as spam
Synopsis
class SpamHandler
extends CommentHandler
{
- // members
- private static string $url_segment = 'spam';
- protected string $buttonClasses = 'font-icon-cross-mark';
- protected string $label = 'Spam';
- // Inherited members from CommentHandler
- protected boolean $xhr;
- protected boolean $destructive;
- // methods
- public Comment updateComment()
- // Inherited methods from CommentHandler
- public HTTPResponse index()
- public abstract Comment updateComment()
Hierarchy
Members
private
- $url_segment
protected
- $destructive
- $label
- $xhr