Skip to content

Commit

Permalink
Update Localist json class for the new version of migrate_plus
Browse files Browse the repository at this point in the history
  • Loading branch information
pookmish committed Jul 19, 2024
1 parent 8e5960f commit 0af7973
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# Stanford Migrate

8.6.2
--------------------------------------------------------------------------------
_Release Date: 2024-07-19_

- Updated Localist json for the latest version of migrate_plus.

8.6.1
--------------------------------------------------------------------------------
_Release Date: 2024-07-17_
Expand Down
2 changes: 1 addition & 1 deletion src/Plugin/migrate_plus/data_parser/LocalistJson.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ class LocalistJson extends Json {
/**
* {@inheritDoc}
*/
protected function getSourceData(string $url): array {
protected function getSourceData(string $url, string|int $item_selector): array {
$source_data = [];
foreach (self::getPagedUrls($url) as $page_url) {
$source_data = [...$source_data, ...parent::getSourceData($page_url)];
Expand Down
2 changes: 1 addition & 1 deletion stanford_migrate.info.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ description: 'Adds more functionality to migrate and migrate plus modules'
type: module
core_version_requirement: ^10.3 || ^11
package: 'Stanford'
version: 8.6.1
version: 8.6.2
dependencies:
- drupal:migrate
- empty_fields:empty_fields
Expand Down

0 comments on commit 0af7973

Please sign in to comment.