class CommentEmptyTitleTestThemeHooks

Hook implementations for comment_empty_title_test.

Hierarchy

Expanded class hierarchy of CommentEmptyTitleTestThemeHooks

File

core/modules/comment/tests/modules/comment_empty_title_test/src/Hook/CommentEmptyTitleTestThemeHooks.php, line 12

Namespace

Drupal\comment_empty_title_test\Hook
View source
class CommentEmptyTitleTestThemeHooks {
    
    /**
     * Implements hook_preprocess_comment().
     */
    public function preprocessComment(&$variables) : void {
        $variables['title'] = '';
    }

}

Members

Title Sort descending Modifiers Object type Summary
CommentEmptyTitleTestThemeHooks::preprocessComment public function Implements hook_preprocess_comment().

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.