I'm planning to add support for import/export/clone facilities in the D7 version of the Goals module, similar to the import/export/clone facilities in (e.g) the Rules. More specifically to also provide support for importing/exporting the configuration of
To find out how to do so, I looked at the (interesting) Community Documentation about "Exportable configuration". Part of what is included there is this:
... two proven and documented APIs exist in Drupal contrib that greatly facilitate the process.
Tasks are both entities, it seems that I'm lucky: I can pick either one. However these are my questions to actually decide about which one to select:
- Are there any pros/cons or dos/donts for using either of these APIs to create my exportables?
- Which of these APIs appear to be the most appropriate for what I want to achieve?