In ctools_entity_from_field_get_children() the naming scheme of entity from field relationships is defined as follows:
$plugin['title'] = t('@to_entity from @from_entity (on @from_entity: @field_label)', $replacements);
Example of a relationship name that you will get from a taxonomy field with label "Category": "Taxonomy Term from Node (on Node: Category)."
Suppose you have 2 different fields with the label "Category", then their relationships will end up with the same name. Now which one should I choose to get the relationship I want to add in page manager? They are not disginguishable from each other.
Maybe it would be a good idea to add the field identifier in the name somewhere?
Comments
Comment #1
cyberwolf commentedAttaching a patch.
Comment #3
merlinofchaos commentedMan. Those strings are pretty long as it is. But I cannot fault the logic, either. Committing, though I wish I had a better solution.