Permalink
Browse files

Merge pull request #5 from mivancic/master

Support for eZ Platform 2.0 (ezpublish-kernel 7.x)
  • Loading branch information...
eab-andy committed Sep 12, 2018
2 parents 7d5b853 + 6a77844 commit f22ff96c275e67b945d68b435737afb97fa2db50
@@ -37,7 +37,7 @@ public function load( array $configs, ContainerBuilder $container )
*/
public function prepend( ContainerBuilder $container )
{
$configFile = __DIR__ . '/../Resources/config/templates.yml';
$configFile = __DIR__ . '/../Resources/config/ezpublish.yml';
$config = Yaml::parse( file_get_contents( $configFile ) );
$container->prependExtensionConfig( 'ezpublish', $config );
$container->addResource( new FileResource( $configFile ) );
@@ -0,0 +1,4 @@
system:
default:
field_templates:
- {template: '@EabUniqueDatatypes/content_fields.html.twig', priority: 0}
@@ -5,23 +5,33 @@ parameters:
services:
ezpublish.fieldType.ezuniquestring:
class: %ezpublish.fieldType.ezuniquestring.class%
class: "%ezpublish.fieldType.ezuniquestring.class%"
parent: ezpublish.fieldType
tags:
- { name: ezpublish.fieldType, alias: ezuniquestring }
ezpublish.fieldType.ezuniqueurl:
class: %ezpublish.fieldType.ezuniqueurl.class%
class: "%ezpublish.fieldType.ezuniqueurl.class%"
parent: ezpublish.fieldType
tags:
- { name: ezpublish.fieldType, alias: ezuniqueurl }
ezpublish.fieldType.ezuniqueurl.externalStorage:
class: %ezpublish.fieldType.ezurl.externalStorage.class%
class: "%ezpublish.fieldType.ezurl.externalStorage.class%"
arguments:
- []
- @?logger
- "@?logger"
tags:
- { name: ezpublish.fieldType.externalStorageHandler, alias: ezuniqueurl }
ezpublish.fieldType.ezuniqueurl.storage_gateway:
class: %ezpublish.fieldType.ezurl.storage_gateway.class%
class: "%ezpublish.fieldType.ezurl.storage_gateway.class%"
tags:
- { name: ezpublish.fieldType.externalStorageHandler.gateway, alias: ezuniqueurl, identifier: LegacyStorage }
ezpublish.fieldtype.indexable.ezuniquestring:
class: "%ezpublish.fieldType.indexable.ezstring.class%"
tags:
- {name: ezpublish.fieldType.indexable, alias: ezuniquestring}
ezpublish.fieldtype.indexable.ezuniqueurl:
class: "%ezpublish.fieldType.indexable.ezurl.class%"
tags:
- {name: ezpublish.fieldType.indexable, alias: ezuniqueurl}
@@ -4,10 +4,10 @@ parameters:
services:
ezpublish.fieldType.ezuniquestring.converter:
class: %ezpublish.fieldType.ezuniquestring.converter.class%
class: "%ezpublish.fieldType.ezuniquestring.converter.class%"
tags:
- {name: ezpublish.storageEngine.legacy.converter, alias: ezuniquestring, lazy: true, callback: "::create"}
ezpublish.fieldType.ezuniqueurl.converter:
class: %ezpublish.fieldType.ezuniqueurl.converter.class%
class: "%ezpublish.fieldType.ezuniqueurl.converter.class%"
tags:
- {name: ezpublish.storageEngine.legacy.converter, alias: ezuniqueurl, lazy: true, callback: "::create"}

This file was deleted.

Oops, something went wrong.
View
@@ -16,7 +16,7 @@
{ "name": "Enterprise AB Ltd", "homepage": "http://eab.uk" }
],
"require": {
"ezsystems/ezpublish-kernel": "~6.0"
"ezsystems/ezpublish-kernel": "^6.0|7.0"
},
"suggest": {
"eab/ezuniquedatatypes": "To edit this field type in legacy administration interface"

0 comments on commit f22ff96

Please sign in to comment.