comment_empty_title_test.module in Zircon Profile 8.0
Same filename and directory in other branches
Dummy module emptying comment titles to test for appropriate and accessible markup in edge case scenarios where comments have empty titles.
File
core/modules/comment/tests/modules/comment_empty_title_test/comment_empty_title_test.moduleView source
<?php
/**
* @file
* Dummy module emptying comment titles to test for appropriate and accessible
* markup in edge case scenarios where comments have empty titles.
*/
/**
* Implements hook_preprocess_comment().
*/
function comment_empty_titles_test_preprocess_comment(&$variables) {
$variables['title'] = '';
}
Functions
Name | Description |
---|---|
comment_empty_titles_test_preprocess_comment | Implements hook_preprocess_comment(). |