comment_empty_title_test.module 319 B

1234567891011121314
  1. <?php
  2. /**
  3. * @file
  4. * Dummy module emptying comment titles to test for appropriate and accessible
  5. * markup in edge case scenarios where comments have empty titles.
  6. */
  7. /**
  8. * Implements hook_preprocess_comment().
  9. */
  10. function comment_empty_titles_test_preprocess_comment(&$variables) {
  11. $variables['title'] = '';
  12. }