Move follows a new California law affecting communications between schools and families over gay and transgender students.