Problem/Motivation

The Drupal\field_group\Form\FieldGroupAddForm use the static method \Drupal::request()

Proposed resolution

Replace use of static method \Drupal::request() by inherited service requestStack

Comments

thalles created an issue. See original summary.

thalles’s picture

berdir’s picture

Status: Needs review » Needs work

You need to use $this->getRequest(), the propery is set on-demand.

  • nils.destoop committed af386b2 on 8.x-3.x authored by thalles
    Issue #3103734 by thalles, Berdir: Replace use of static method \Drupal...
nils.destoop’s picture

Status: Needs work » Fixed

Thx for noticing. I committed the fix, but replaced it with the getRequest method.

Status: Fixed » Closed (fixed)

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