Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
M
migrate_spreadsheet
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Custom Issue Tracker
Custom Issue Tracker
Labels
Merge Requests
0
Merge Requests
0
Requirements
Requirements
List
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Analytics
Analytics
Code Review
Insights
Issue
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
project
migrate_spreadsheet
Commits
25085cb3
Commit
25085cb3
authored
Dec 05, 2019
by
mr.baileys
Committed by
claudiu.cristea
Dec 05, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Issue
#3067312
by mr.baileys, claudiu.cristea: SpreadsheetIterator should not be a service
parent
6a7e2e71
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
4 deletions
+2
-4
migrate_spreadsheet.services.yml
migrate_spreadsheet.services.yml
+0
-3
src/Plugin/migrate/source/Spreadsheet.php
src/Plugin/migrate/source/Spreadsheet.php
+2
-1
No files found.
migrate_spreadsheet.services.yml
deleted
100644 → 0
View file @
6a7e2e71
services
:
migrate_spreadsheet.iterator
:
class
:
Drupal\migrate_spreadsheet\SpreadsheetIterator
src/Plugin/migrate/source/Spreadsheet.php
View file @
25085cb3
...
...
@@ -9,6 +9,7 @@ use Drupal\Core\Plugin\ContainerFactoryPluginInterface;
use
Drupal\migrate\MigrateException
;
use
Drupal\migrate\Plugin\migrate\source\SourcePluginBase
;
use
Drupal\migrate\Plugin\MigrationInterface
;
use
Drupal\migrate_spreadsheet
\
SpreadsheetIterator
;
use
Drupal\migrate_spreadsheet
\
SpreadsheetIteratorInterface
;
use
PhpOffice\PhpSpreadsheet\IOFactory
;
use
Symfony\Component\DependencyInjection\ContainerInterface
;
...
...
@@ -79,7 +80,7 @@ class Spreadsheet extends SourcePluginBase implements ConfigurablePluginInterfac
$plugin_definition
,
$migration
,
$container
->
get
(
'file_system'
),
$container
->
get
(
'migrate_spreadsheet.iterator'
)
new
SpreadsheetIterator
(
)
);
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment