diff --git a/core/modules/aggregator/lib/Drupal/aggregator/AggregatorBundle.php b/core/modules/aggregator/lib/Drupal/aggregator/AggregatorBundle.php index 081156b..04bf618 100644 --- a/core/modules/aggregator/lib/Drupal/aggregator/AggregatorBundle.php +++ b/core/modules/aggregator/lib/Drupal/aggregator/AggregatorBundle.php @@ -8,6 +8,7 @@ namespace Drupal\aggregator; use Symfony\Component\DependencyInjection\ContainerBuilder; +use Symfony\Component\DependencyInjection\Reference; use Symfony\Component\HttpKernel\Bundle\Bundle; /** diff --git a/core/modules/ckeditor/lib/Drupal/ckeditor/Tests/CKEditorTest.php b/core/modules/ckeditor/lib/Drupal/ckeditor/Tests/CKEditorTest.php index db4dbec..19e9c8c 100644 --- a/core/modules/ckeditor/lib/Drupal/ckeditor/Tests/CKEditorTest.php +++ b/core/modules/ckeditor/lib/Drupal/ckeditor/Tests/CKEditorTest.php @@ -64,7 +64,7 @@ function setUp() { $editor->save(); // Create "CKEditor" text editor plugin instance. - $manager = new EditorManager($this->container->getParameter('container.namespaces')); + $manager = new EditorManager('editor', 'editor', $this->container->getParameter('container.namespaces')); $this->ckeditor = $manager->createInstance('ckeditor'); } diff --git a/core/modules/edit/lib/Drupal/edit/Tests/EditorSelectionTest.php b/core/modules/edit/lib/Drupal/edit/Tests/EditorSelectionTest.php index fdddec0..048eded 100644 --- a/core/modules/edit/lib/Drupal/edit/Tests/EditorSelectionTest.php +++ b/core/modules/edit/lib/Drupal/edit/Tests/EditorSelectionTest.php @@ -40,7 +40,7 @@ public static function getInfo() { function setUp() { parent::setUp(); - $this->editorManager = new EditorManager($this->container->getParameter('container.namespaces')); + $this->editorManager = new EditorManager('edit', 'editor', $this->container->getParameter('container.namespaces')); $this->editorSelector = new EditorSelector($this->editorManager); } @@ -109,7 +109,7 @@ function testTextWysiwyg() { // Enable edit_test module so that the 'wysiwyg' Create.js PropertyEditor // widget becomes available. $this->enableModules(array('edit_test')); - $this->editorManager = new EditorManager($this->container->getParameter('container.namespaces')); + $this->editorManager = new EditorManager('edit', 'editor', $this->container->getParameter('container.namespaces')); $this->editorSelector = new EditorSelector($this->editorManager); $field_name = 'field_textarea'; diff --git a/core/modules/edit/lib/Drupal/edit/Tests/MetadataGeneratorTest.php b/core/modules/edit/lib/Drupal/edit/Tests/MetadataGeneratorTest.php index 529d535..06f9c74 100644 --- a/core/modules/edit/lib/Drupal/edit/Tests/MetadataGeneratorTest.php +++ b/core/modules/edit/lib/Drupal/edit/Tests/MetadataGeneratorTest.php @@ -58,7 +58,7 @@ function setUp() { $this->installSchema('field_test', 'test_entity_revision'); - $this->editorManager = new EditorManager($this->container->getParameter('container.namespaces')); + $this->editorManager = new EditorManager('edit', 'editor', $this->container->getParameter('container.namespaces')); $this->accessChecker = new MockEditEntityFieldAccessCheck(); $this->editorSelector = new EditorSelector($this->editorManager); $this->metadataGenerator = new MetadataGenerator($this->accessChecker, $this->editorSelector, $this->editorManager); @@ -133,7 +133,7 @@ function testEditorWithCustomMetadata() { // Enable edit_test module so that the WYSIWYG Create.js PropertyEditor // widget becomes available. $this->enableModules(array('edit_test')); - $this->editorManager = new EditorManager($this->container->getParameter('container.namespaces')); + $this->editorManager = new EditorManager('edit', 'editor', $this->container->getParameter('container.namespaces')); $this->editorSelector = new EditorSelector($this->editorManager); $this->metadataGenerator = new MetadataGenerator($this->accessChecker, $this->editorSelector, $this->editorManager); diff --git a/core/modules/editor/lib/Drupal/editor/Tests/EditorManagerTest.php b/core/modules/editor/lib/Drupal/editor/Tests/EditorManagerTest.php index 567db78..f8f3f00 100644 --- a/core/modules/editor/lib/Drupal/editor/Tests/EditorManagerTest.php +++ b/core/modules/editor/lib/Drupal/editor/Tests/EditorManagerTest.php @@ -66,7 +66,7 @@ function setUp() { * Tests the configurable text editor manager. */ function testManager() { - $this->editorManager = new EditorManager($this->container->getParameter('container.namespaces')); + $this->editorManager = new EditorManager('editor', 'editor', $this->container->getParameter('container.namespaces')); // Case 1: no text editor available: // - listOptions() should return an empty list of options diff --git a/core/modules/entity_reference/lib/Drupal/entity_reference/EntityReferenceBundle.php b/core/modules/entity_reference/lib/Drupal/entity_reference/EntityReferenceBundle.php index ecb9901..6935e75 100644 --- a/core/modules/entity_reference/lib/Drupal/entity_reference/EntityReferenceBundle.php +++ b/core/modules/entity_reference/lib/Drupal/entity_reference/EntityReferenceBundle.php @@ -8,6 +8,7 @@ namespace Drupal\entity_reference; use Symfony\Component\DependencyInjection\ContainerBuilder; +use Symfony\Component\DependencyInjection\Reference; use Symfony\Component\HttpKernel\Bundle\Bundle; /**