The Hungarian text of the law, entitled "2021. évi LXXIX. törvény: a pedofil bűnelkövetőkkel szembeni szigorúbb fellépésről, valamint a gyermekek védelme érdekében egyes törvények módosításáról" (on stepping up action against pedophile offenders and amending certain laws to protect children) can be read as published by the Hungarian Nemzeti Jogszabálytár (National Legislation) service here.
It includes the controversial sections restricting media which portrays divergence from self-identity corresponding to sex at birth, sex change, or homosexuality for people under the age of 18 (section 9), as well as that prohibiting the promotion of these topics in education (section 11).
These provisions, and others, have been roundly criticised by EU leaders, with Dutch PM Mark Rutte commenting that Hungary "has no business being in the European Union any more", and EU commissioners Thierry Breton and Didier Reynders writing to Hungarian Justice Minister Judit Varga informing her that if the Bill enters into force, "the European Commission will not hesitate to take action in line with its powers under the [Treaty on the Functioning of the European Union]".
On the other hand, the Polish ambassador to Berlin defended the law, saying that "This has nothing to do with intolerance, let alone persecuting homosexuals."