FILE: ...tion_tabs/src/Plugin/Field/FieldFormatter/FieldCollectionTabsFormatter.php
--------------------------------------------------------------------------------
FOUND 0 ERRORS AND 3 WARNINGS AFFECTING 3 LINES
--------------------------------------------------------------------------------
99 | WARNING | t() calls should be avoided in classes, use
| | \Drupal\Core\StringTranslation\StringTranslationTrait and
| | $this->t() instead
113 | WARNING | t() calls should be avoided in classes, use
| | \Drupal\Core\StringTranslation\StringTranslationTrait and
| | $this->t() instead
116 | 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

mo_farhaz created an issue. See original summary.

mo_farhaz’s picture

Assigned: mo_farhaz » Unassigned
Status: Active » Needs review
FileSize
1.84 KB

t() replaced with $this->t()

larowlan’s picture

Title: Drupal 9 readiness » Minor coding-standards
Category: Bug report » Task

Thanks, there is not really any D9 related changes here.

Does field collection have a d9 version?

KapilV’s picture

Issue tags: +Coding standards
anisha.challa’s picture

FileSize
6.79 KB

Fixed some coding standards.

anisha.challa’s picture

FileSize
6.79 KB

Fixed an issue in previously uploaded patch and re-uploading again.