The grantor may provide in the grant that the trustees and their successors, may, in the name of the institution, become the custodian of the person of minors. When any such provision is made in a grant, the trustees and their successors may take the custody and control in the manner and for the time and in accordance with the provisions of Chapter 4 (commencing with Section 3070) of Division 3 of the Labor Code.