Skip to content

Commit

Permalink
TASK: add compatibility for Neos 7
Browse files Browse the repository at this point in the history
jobee committed Mar 1, 2021
1 parent 583cae7 commit 98396a1
Showing 2 changed files with 41 additions and 13 deletions.
2 changes: 1 addition & 1 deletion Classes/DataSource/NodeDataDataSource.php
Original file line number Diff line number Diff line change
@@ -28,7 +28,7 @@ class NodeDataDataSource extends AbstractDataSource {
* @param array $arguments Additional arguments (key / value)
* @return array JSON serializable data
*/
public function getData(NodeInterface $node = NULL, array $arguments)
public function getData(NodeInterface $node = NULL, array $arguments = [])
{
/** @var ContentContext $contentContext */
$contentContext = $this->contentContextFactory->create(array($node));
52 changes: 40 additions & 12 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,15 +1,43 @@
{
"name": "tms/select",
"type": "neos-tms",
"description": "Select nodes instead of searching via reference editor in Neos CMS",
"keywords": ["neoscms", "selectbox", "selectboxeditor", "nodedata", "datasource"],
"license": "MIT",
"require": {
"neos/neos": "^4.3 || ^5.0"
},
"autoload": {
"psr-4": {
"Tms\\Select\\": "Classes"
"name": "tms/select",
"type": "neos-plugin",
"description": "Select nodes instead of searching via reference editor in Neos CMS",
"keywords": [
"neoscms",
"selectbox",
"selectboxeditor",
"nodedata",
"datasource"
],
"license": "MIT",
"require": {
"neos/neos": "^4.3 || ^5.0 || ^7.0 || dev-master"
},
"autoload": {
"psr-4": {
"Tms\\Select\\": "Classes"
}
},
"extra": {
"applied-flow-migrations": [
"TYPO3.Form-20160601101500",
"Neos.Twitter.Bootstrap-20161124204912",
"Neos.Form-20161124205254",
"Neos.Party-20161124225257",
"Neos.Imagine-20161124231742",
"Neos.ContentRepository.Search-20161210231100",
"Neos.Seo-20170127154600",
"Neos.Flow-20180415105700",
"Neos.Neos-20180907103800",
"Neos.Neos.Ui-20190319094900",
"Neos.Flow-20190425144900",
"Neos.Flow-20190515215000",
"Flowpack.ElasticSearch.ContentRepositoryAdaptor-20200513223401",
"Neos.Flow-20200813181400",
"Neos.Flow-20201003165200",
"Neos.Flow-20201109224100",
"Neos.Flow-20201205172733",
"Neos.Flow-20201207104500"
]
}
}
}

0 comments on commit 98396a1

Please sign in to comment.