diff --git a/composer.json b/composer.json index a4db6d03..29b7b5c3 100644 --- a/composer.json +++ b/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": [ diff --git a/src/Form/AddChildrenWizard/AbstractForm.php b/src/Form/AddChildrenWizard/AbstractForm.php index 038d59f1..e9fac387 100644 --- a/src/Form/AddChildrenWizard/AbstractForm.php +++ b/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');