diff --git a/docs/source/development/how-to-restrict-blocks.md b/docs/source/development/how-to-restrict-blocks.md index ed274ee37b..62931acdf8 100644 --- a/docs/source/development/how-to-restrict-blocks.md +++ b/docs/source/development/how-to-restrict-blocks.md @@ -27,11 +27,20 @@ The function has this signature: } ``` -`properties` is the current object data. -`block` is the block being evaluated in `BlockChooser`. -`navRoot` is the nearest navigation root object. -`contentType` is the current content type. -`user` is an object that represents the currently authenticated user. +`properties` +: The current object data. + +`block` +: The block being evaluated in `BlockChooser`. + +`navRoot` +: The nearest navigation root object. + +`contentType` +: The current content type. + +`user` +: An object that represents the currently authenticated user. In the following configuration example, you can restrict a block so that it cannot be added unless the content type is `News Item` or the content item is in a specific path in the content tree (`/folder`):