It would benefit Taxonomy Export to implement the Features API. This would be a good first step bring to Taxonomy Export in-line with some of the projects paving the way for future Drupal.

Steps to implement:

  • Implement CTools Exportables API as a storage back-end (or Exportables module, but CTools has much better traction)
  • Implement hook_features_api()
  • ...
  • Success?
CommentFileSizeAuthor
#1 taxonomy_export_features.patch7.76 KBb-prod

Comments

b-prod’s picture

Status: Active » Needs review
StatusFileSize
new7.76 KB

Hi!

Here is a patch for implementation of hook_features_api(). I didn't use CTools exportables to avoid modify Drupal standard DB tables, even via hook_alter_schema().

I let you modify and adjust it as you need.

My initial need was to have a hook to interfere with term and vocabulary objects (614666: Create a hook for other modules to import/export elements related to taxonomy). Integration with Features API does not fix this requirement and now it will be necessary to add this hook in two places: in the original place and in the feature export.

Actually I am not really interested in Features, but only in the hook I suggested in the link above.

Hope this patch will help you.

James Andres’s picture

Hi B-Prod, a quick update. I've been too busy to look into this much further. I started development on a branch, hosted on bitbucket not D.o CVS, to complete these changes. Feel free to download the branch and tinker. When I get my free time back, I'll continue dev.

http://bitbucket.org/james.andres/taxonomy_export

rickvug’s picture

Issue tags: +CTools exportables

Tagging "cTools Exportables" for tracking, even if this seems to have been taken off the table for now.

James Andres’s picture

Status: Needs review » Fixed

Alpha commit is up! Check out the DRUPAL-6--2 tag.

Status: Fixed » Closed (fixed)
Issue tags: -CTools exportables

Automatically closed -- issue fixed for 2 weeks with no activity.