CommentEmptyTitleTestThemeHooks.php

Namespace

Drupal\comment_empty_title_test\Hook

File

core/modules/comment/tests/modules/comment_empty_title_test/src/Hook/CommentEmptyTitleTestThemeHooks.php

View source
<?php

declare (strict_types=1);
namespace Drupal\comment_empty_title_test\Hook;

use Drupal\Core\Hook\Attribute\Preprocess;

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

}

Classes

Title Deprecated Summary
CommentEmptyTitleTestThemeHooks Hook implementations for comment_empty_title_test.

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