Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
I'm writing a module that is able to export relations through uuids (Relation UUID). I have written one component that is working about right. But knowing that all relations of each type can stack up pretty fast I would like to split up my component for each relation type. In the documentation of http://drupalcontrib.org/api/drupal/contributions!features!features.api.php/function/hook_features_api/7 there is a brief explanation for using the 'base' property.
Could someone please provide a little bit more information/documentation on how to implement such a feature?
Comments
Comment #1
alexverb CreditAttribution: alexverb commentedI figured it out. You can define the 'base' property as the component 'hook' name. Then in your hook you can add the components key as a parameter. That was kind of the missing piece in the documentation. Below is an example of how I used it in my module.