Comments

thalles created an issue. See original summary.

thalles’s picture

Status: Needs work » Needs review
StatusFileSize
new1.93 KB

Follow the patch!

gausarts’s picture

Status: Needs review » Needs work

Thanks!

We should inherit from parent constructor here instead, and so no need for BlazySettingsForm::setConfigFactory():

+  public function __construct(ConfigFactoryInterface $config_factory, LibraryDiscovery $library_discovery) {
+    $this->libraryDiscovery = $library_discovery;
+
+    $this->setConfigFactory($config_factory);
+  }
thalles’s picture

I think it's overwritten, another solution would be:
parent :: __ construct ($ config_factory);

Is that what you propose?

thalles’s picture

thalles’s picture

Status: Needs work » Needs review
gausarts’s picture

Status: Needs review » Needs work

Need minor adjustment here:
https://www.drupal.org/pift-ci-job/1174101

Thank you!

thalles’s picture

Follow the new patch!

thalles’s picture

Status: Needs work » Needs review
thalles’s picture

Follow the patch!

thalles’s picture

  • gausarts committed 815cfe2 on 8.x-2.x authored by thalles
    Issue #3026114 by thalles, gausarts: Drupal dependency injection on...
gausarts’s picture

Status: Needs review » Fixed

Committed. Thank you for contribution!

Status: Fixed » Closed (fixed)

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