Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
When creating a term field, it is sometimes needed to specify a term parent. Here is the patch to add this functionality to the term creation code.
fields.inc, at line 374:
<?php
if (!empty($arguments['term_parent'])) {
$new_term->parent = $arguments['term_parent'];
}
?>
Comment | File | Size | Author |
---|---|---|---|
migrate-field-term-parent-support.patch | 722 bytes | alexrayu | |