There is a presumption, affecting the burden of proof, that joint custody is in the best interest of a minor child, subject to Section 3011, where the parents have agreed to joint custody or so agree in open court at a hearing for the purpose of determining the custody of the minor child.
Ca. Fam. Code § 3080