Airship\Cabin\Hull\Landing\Ajax::blogCommentForm PHP Method

blogCommentForm() public method

Just get the blog comment reply form on cached pages
public blogCommentForm ( )
    public function blogCommentForm()
    {
        if (IDE_HACKS) {
            $this->blog = new Blog();
        }
        $filter = new CommentForm();
        try {
            $post = $filter($_POST);
        } catch (\TypeError $ex) {
            \Airship\json_response(['status' => 'ERROR', 'message' => 'Invalid POST data']);
            return;
        }
        $formAction = '/' . \trim(\implode('/', [$this->airship_cabin_prefix, 'blog', $post['year'], $post['month'], $post['slug']]), '/');
        $this->lens('blog/comment_form', ['form_action' => $formAction, 'config' => $this->config()]);
    }