- (a) Before making an order granting custody to a person or persons other than a parent, over the objection of a parent, the court shall make a finding that granting custody to a parent would be detrimental to the child and that granting custody to the nonparent is required to serve the best interest of the child. Allegations that parental custody would be detrimental to the child, other than a statement of that ultimate fact, shall not appear in the pleadings. The court may, in its discretion, exclude the public from the hearing on this issue.
- (b) Subject to subdivision (d), a finding that parental custody would be detrimental to the child shall be supported by clear and convincing evidence.
- (c) As used in this section, “detriment to the child” includes the harm of removal from a stable placement of a child with a person who has assumed, on a day-to-day basis, the role of his or her parent, fulfilling both the child’s physical needs and the child’s psychological needs for care and affection, and who has assumed that role for a substantial period of time. A finding of detriment does not require any finding of unfitness of the parents.