How to write put_layout plug in Phoenix 1.7?

plug :put_layout, [html: {TestApp.LayoutView, :account}] when ...

We will write some docs to make it clearer. Thank you!