The law, which takes effect July 1, provides that employers who knowingly and intentionally hire undocumented immigrants could face civil actions.