The law in question is 242-FZ. It has nothing to do with censorship, but to do with data localization: Keeping the data of Russian citizens within the border of Russia.
With the adoption of the GDPR by the EU in 2018, such approaches may become more common.