- Issue created by @damienmckenna
- Merge request !120[#3551575] feat: Provide the Book Ancestors field from Entity API on D7 β (Closed) created by smustgrave
- Status changed to Needs review
14 days ago 3:13pm 11 October 2025
The Entity API module provided a property/field called "book_properties" with this code:
$ancestors = array();
while (!empty($node->book['plid']) && $node->book['plid'] != -1) {
$link = book_link_load($node->book['plid']);
array_unshift($ancestors, $link['nid']);
$node = node_load($link['nid']);
}
return $ancestors;
Recreate the "book_properties" code as an appropriate plugin.
Add the necessary logic.
A plugin exists that displays the Book Properties code.
TBD
n/a
Active
2.0
Code