The DrimageController class inherits from a parent that implements Symfony\Component\DependencyInjection\ContainerInterface, and should therefore use a dependency injection container instead of calling \Drupal::service() directly.

Followup from your full project application at #2742459: [D8] drimage. Nice module, I will use it.

Comments

John Pitcairn created an issue. See original summary.

weseze credited weseze.

weseze’s picture

Assigned: Unassigned » weseze
Status: Active » Fixed

Fixed.

weseze’s picture

Status: Fixed » Closed (fixed)