FILE: .../drupal/modules/views_templates/src/Controller/ViewsBuilderController.php
-------------------------------------------------------------------------------
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
-------------------------------------------------------------------------------
70 | WARNING | t() calls should be avoided in classes, use
| | \Drupal\Core\StringTranslation\StringTranslationTrait and
| | $this->t() instead
-------------------------------------------------------------------------------

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

neelam_wadhwani created an issue. See original summary.

neelam_wadhwani’s picture

Title: Some coding standard phpcs » t() calls should be avoided in classes, use \Drupal\Core\StringTranslation\StringTranslationTrait and $this->t() instead
Assigned: neelam_wadhwani » Unassigned
Issue summary: View changes
Status: Needs work » Needs review
FileSize
646 bytes

Kindly review patch.

Status: Needs review » Needs work

The last submitted patch, 2: 3126018-2.patch, failed testing. View results

Neslee Canil Pinto’s picture

Status: Needs work » Reviewed & tested by the community

Works fine, Thanks.

Neslee Canil Pinto’s picture

Status: Reviewed & tested by the community » Fixed
Neslee Canil Pinto’s picture

Status: Fixed » Closed (fixed)