function CommentEmptyTitleTestThemeHooks::preprocessComment
Implements hook_preprocess_comment().
File
-
core/
modules/ comment/ tests/ modules/ comment_empty_title_test/ src/ Hook/ CommentEmptyTitleTestThemeHooks.php, line 17
Class
- CommentEmptyTitleTestThemeHooks
- Hook implementations for comment_empty_title_test.
Namespace
Drupal\comment_empty_title_test\HookCode
public function preprocessComment(&$variables) : void {
$variables['title'] = '';
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.