A restriction on transfer of a tenant’s interest in a lease may provide that the transfer is subject to any express standard or condition, including, but not limited to, a provision that the landlord is entitled to some or all of any consideration the tenant receives from a transferee in excess of the rent under the lease.
Source:
Section 1995.240, https://leginfo.legislature.ca.gov/faces/codes_displaySection.xhtml?lawCode=CIV§ionNum=1995.240.
.