Turns out the "path" key for an entity's info (e.g. entity_get_info('entity_type')['path'];) is non-standard. Module development occurred in the context of a site that happened to have that info included (by Metatag module, for the record).
For core entities, we should just include this metadata via hook_entity_info_alter(). For contrib entities, we just need to document this oddity in #24.
Turns out the "path" key for an entity's info (e.g.
entity_get_info('entity_type')['path'];
) is non-standard. Module development occurred in the context of a site that happened to have that info included (by Metatag module, for the record).For core entities, we should just include this metadata via
hook_entity_info_alter()
. For contrib entities, we just need to document this oddity in #24.