Use t() for #title and #description in tests and test modules

Created on 9 July 2020, almost 4 years ago
Updated 11 October 2023, 9 months ago

Use t() function for the titles and description in test files and test modules.

 function views_test_classy_subtheme_views_ui_display_tab_alter(&$build, ViewUI $view, $display_id) {
-  $build['details']['top']['display_title']['#description'] = 'This is text added to the display edit form';
+  $build['details']['top']['display_title']['#description'] = t('This is text added to the display edit form');
📌 Task
Status

Needs work

Version

11.0 🔥

Component
Other  →

Last updated 1 minute ago

Created by

🇮🇳India shaktik New Delhi

Live updates comments and jobs are added and updated live.
  • Coding standards

    It involves compliance with, or the content of coding standards. Requires broad community agreement.

Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.69.0 2024