Comments

fago’s picture

StatusFileSize
new4.64 KB
klausi’s picture

Status: Needs review » Needs work
+++ entity/entity.features.inc
@@ -0,0 +1,153 @@
+// $name$

what is that? shouldn't that be $id$ ?

+++ entity/entity.features.inc
@@ -0,0 +1,153 @@
+ * Provides Entity metadata integration for entities provided via the CRUD API.

2 times "provide" in one sentence, confuses me.

+++ entity/entity.features.inc
@@ -0,0 +1,153 @@
+  public function export($data, &$export, $module_name = '') {

what is $data? Looks like the entity ids?

Powered by Dreditor.

fago’s picture

Thanks.

>what is $data? Looks like the entity ids?

That is the features variable name and in our case the entity ids, yep.

fago’s picture

Status: Needs work » Needs review
StatusFileSize
new5.28 KB

updated the patch to address klausi's comments + add in any provided fields in case the exported entity acts as a bundle.

I'm using that for exporting profile2's profile types - works already pretty fine.

fago’s picture

StatusFileSize
new0 bytes

fixed reverting.

fago’s picture

StatusFileSize
new5.28 KB
fago’s picture

Status: Needs review » Fixed

the features-patches got committed :) So I've committed #6 too.

Status: Fixed » Closed (fixed)

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