You are here

constant TAXONOMY_XML_ALLOWED_UPLOAD_EXTENSIONS in Taxonomy import/export via XML 6.2

As we allow upload, we should limit it to expected types

2 uses of TAXONOMY_XML_ALLOWED_UPLOAD_EXTENSIONS
taxonomy_xml_fetch_and_import in ./taxonomy_xml.module
Fetches the data according to the given method, then invokes the import on that data.
taxonomy_xml_import_form in ./taxonomy_xml.module
Builds the import form.

File

./taxonomy_xml.module, line 97
This module makes it possible to import and export taxonomies as XML documents.

Code

define('TAXONOMY_XML_ALLOWED_UPLOAD_EXTENSIONS', 'txt csv xml rdf');