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", "drupal/flysystem" : "^2.0@alpha",
"islandora/crayfish-commons": "^2", "islandora/crayfish-commons": "^2",
"drupal/file_replace": "^1.1", "drupal/file_replace": "^1.1",
"drupal/ctools": "^3" "drupal/ctools": "^3.8"
}, },
"require-dev": { "require-dev": {
"phpunit/phpunit": "^6", "phpunit/phpunit": "^6",
@ -38,7 +38,7 @@
"sebastian/phpcpd": "*" "sebastian/phpcpd": "*"
}, },
"suggest": { "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", "license": "GPL-2.0-or-later",
"authors": [ "authors": [

4
src/Form/AddChildrenWizard/AbstractForm.php

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

Loading…
Cancel
Save