FILE: C:\xampp\htdocs\drupal95\web\modules\contrib\gleab\src\Plugin\Block\GleabBlock.php
-----------------------------------------------------------------------------------------------------------------------------------------
FOUND 0 ERRORS AND 5 WARNINGS AFFECTING 4 LINES
-----------------------------------------------------------------------------------------------------------------------------------------
29 | WARNING | t() calls should be avoided in classes, use \Drupal\Core\StringTranslation\StringTranslationTrait and $this->t() instead
31 | WARNING | t() calls should be avoided in classes, use \Drupal\Core\StringTranslation\StringTranslationTrait and $this->t() instead
-----------------------------------------------------------------------------------------------------------------------------------------

Comments

Harsh panchal created an issue. See original summary.

Harsh panchal’s picture

Assigned: Harsh panchal » Unassigned
Category: Task » Bug report
Status: Active » Needs review
StatusFileSize
new1.18 KB

I have fixed this issue and providing a patch.

bramdriesen’s picture

EDIT: Deleted and moved to right issue ;-)

bramdriesen’s picture

Status: Needs review » Reviewed & tested by the community

Beside the fact that "here" links are not a good standard (UI/UX) this is okay.

  • c04fc4d committed on 1.0.x
    Issue #3305894 by Harsh panchal, BramDriesen: t() calls should be...
ahmad abbad’s picture

Committed.

ahmad abbad’s picture

Status: Reviewed & tested by the community » Fixed
qusai taha’s picture

Status: Fixed » Closed (fixed)