As a developer, you might be asked to limit the selectable widget and page types to a particular subset, depending on the widget field or the page type. In a news article, for example, you might want to prevent editors from using a video widget, while this restriction should not apply to blog posts. Or, with page types, it makes sense, for example, to disallow creating a landing page or a blog post in the product catalog section of a website.
The Scrivito SDK offers two Ruby callback methods to support implementing these two use cases. For further details, please refer to the Scrivito SDK API documentation.