Problem/Motivation

use function t() on EventSubscriber/PubSubHubbub.php

Proposed resolution

  1. use StringTranslationTrait;
  2. Use method $this->t()

Comments

thalles created an issue. See original summary.

thalles’s picture

Follow the patch!

thalles’s picture

Status: Needs work » Needs review

  • MegaChriz committed d3aa1a1 on 8.x-3.x authored by thalles
    Issue #3021003 by thalles: Fixed use $this->t() in EventSubscriber/...
megachriz’s picture

Status: Needs review » Fixed

Thanks for the patch! There actually was already an issue open about this (#2865882: Inject translation service into feeds.pubsubhubbub service), but the patch here is better.

I committed #2 with one change: I sorted the use statements at the top of the file so that they are in alphabetical order again.

Status: Fixed » Closed (fixed)

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