Browse Source

Pass the renderer along, with the version constraint.

pull/896/head
Adam Vessey 3 years ago
parent
commit
6b65cd4239
No known key found for this signature in database
GPG Key ID: 89B39535BF6D0D39
  1. 4
      composer.json
  2. 4
      src/Form/AddChildrenWizard/AbstractForm.php

4
composer.json

@ -29,7 +29,7 @@
"drupal/flysystem" : "^2.0@alpha",
"islandora/crayfish-commons": "^2",
"drupal/file_replace": "^1.1",
"drupal/ctools": "^3"
"drupal/ctools": "^3.8"
},
"require-dev": {
"phpunit/phpunit": "^6",
@ -38,7 +38,7 @@
"sebastian/phpcpd": "*"
},
"suggest": {
"drupal/transliterate_filenames": "Sanitizes filenames when they are uploaded so they don't break your repository."
"drupal/transliterate_filenames": "Sanitizes filenames when they are uploaded so they don't break your repository."
},
"license": "GPL-2.0-or-later",
"authors": [

4
src/Form/AddChildrenWizard/AbstractForm.php

@ -4,6 +4,7 @@ namespace Drupal\islandora\Form\AddChildrenWizard;
use Drupal\Core\DependencyInjection\ClassResolverInterface;
use Drupal\Core\Form\FormBuilderInterface;
use Drupal\Core\Render\RendererInterface;
use Drupal\Core\Routing\RouteMatchInterface;
use Drupal\Core\Session\AccountProxyInterface;
use Drupal\Core\TempStore\SharedTempStoreFactory;
@ -57,12 +58,13 @@ abstract class AbstractForm extends FormWizardBase {
ClassResolverInterface $class_resolver,
EventDispatcherInterface $event_dispatcher,
RouteMatchInterface $route_match,
RendererInterface $renderer,
$tempstore_id,
AccountProxyInterface $current_user,
$machine_name = NULL,
$step = NULL
) {
parent::__construct($tempstore, $builder, $class_resolver, $event_dispatcher, $route_match, $tempstore_id,
parent::__construct($tempstore, $builder, $class_resolver, $event_dispatcher, $route_match, $renderer, $tempstore_id,
$machine_name, $step);
$this->nodeId = $this->routeMatch->getParameter('node');

Loading…
Cancel
Save