class CommentEmptyTitleTestThemeHooks
Same name and namespace in other branches
- 11.x core/modules/comment/tests/modules/comment_empty_title_test/src/Hook/CommentEmptyTitleTestThemeHooks.php \Drupal\comment_empty_title_test\Hook\CommentEmptyTitleTestThemeHooks
Hook implementations for comment_empty_title_test.
Hierarchy
- class \Drupal\comment_empty_title_test\Hook\CommentEmptyTitleTestThemeHooks
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\HookView 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.