SilverStripe\Comments\Admin\CommentsGridFieldBulkAction\ApproveHandler
A {@link Handler} for bulk approving comments
Synopsis
class ApproveHandler
extends CommentHandler
{
- // members
- private static string $url_segment = 'approve';
- protected string $buttonClasses = 'font-icon-tick';
- protected string $label = 'Approve';
- // 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