Abandon de getToolByName au profit de getUtilityByInterfaceName.
[Plinn.git] / profiles / default / contenttyperegistry.xml
index 5306349..3cc2552 100644 (file)
   <argument value="image"/>
   <argument value=""/>
  </predicate>
+ <predicate name="photo_extensions" content_type_name="Photo"
+    predicate_type="extension">
+  <argument value="jpg,jpeg,JPG,JPEG"/>
+ </predicate>
  <predicate name="file" content_type_name="File" predicate_type="major_minor">
   <argument value="application"/>
   <argument value=""/>