(optional) The parent term(s) for this term.
This property is not loaded, but may be used to modify the term parents via TaxonomyTerm::save().
The property can be set to an array of term IDs. An entry of array(0) means this term does not have any parents. When omitting this variable during an update, the existing hierarchy for the term remains unchanged.
Type: array
File
- core/
modules/ taxonomy/ taxonomy.entity.inc, line 74 - Entity classes and controllers for Taxonomy module.
Class
- TaxonomyTerm
- Defines the taxonomy term entity.
Code
public $parent;