Family Code § 3049
CHAPTER 2. Matters To Be Considered in Granting Custody
It is the intent of the Legislature in enacting this section to codify the decision of the California Supreme Court in In re Marriage of Carney (1979) 24 Cal.3d 725, with respect to custody and visitation determinations by the court involving a disabled parent.