Problem/Motivation

FILE: /var/www/html/web/modules/custom/fences/modules/fences_presets/src/Form/FencesPresetForm.php
------------------------------------------------------------------------------------------------------------------------------------------
FOUND 0 ERRORS AND 4 WARNINGS AFFECTING 4 LINES
------------------------------------------------------------------------------------------------------------------------------------------
 112 | WARNING | t() calls should be avoided in classes, use \Drupal\Core\StringTranslation\StringTranslationTrait and $this->t() instead
 127 | WARNING | t() calls should be avoided in classes, use \Drupal\Core\StringTranslation\StringTranslationTrait and $this->t() instead
 142 | WARNING | t() calls should be avoided in classes, use \Drupal\Core\StringTranslation\StringTranslationTrait and $this->t() instead
 157 | WARNING | t() calls should be avoided in classes, use \Drupal\Core\StringTranslation\StringTranslationTrait and $this->t() instead
------------------------------------------------------------------------------------------------------------------------------------------

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

Issue fork fences-3504765

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

anybody created an issue. See original summary.

anybody’s picture

Assigned: anybody » Unassigned
Status: Active » Needs review
lrwebks’s picture

Status: Needs review » Reviewed & tested by the community

anybody’s picture

Status: Reviewed & tested by the community » Fixed

Thank you, merged!

  • anybody committed 737ae2cb on 3.x
    Issue #3504765 by anybody, lrwebks: Fix t() calls in FencesPresetForm
    

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.