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

Created on 9 July 2020, about 5 years ago
Updated 30 January 2023, over 2 years ago
 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

10.1 โœจ

Component
Otherย  โ†’

Last updated 3 days ago

Created by

๐Ÿ‡ฎ๐Ÿ‡ณIndia shaktik New Delhi

Live updates comments and jobs are added and updated live.
  • Novice

    It would make a good project for someone who is new to the Drupal contribution process. It's preferred over Newbie.

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.71.5 2024