Configure Entity Types
Configure on-demand revalidation for entity types
Next, we need to configure on-demand revalidation for the entity types.
To enable on-demand revalidation for an entity type, we need to configure a revalidator plugin.
A revalidator tells Drupal how to revalidate an entity when it is created, updated or deleted.
- Visit
/admin/config/services/next/entity-types
- Click Configure entity type or Edit an existing one
- Click On-demand Revalidation
- Select Path as the revalidator Plugin
- Check Revalidate page
- Click Save
If you want to revalidate multiple pages, you can configure Additional paths. Example: you might want to revalidate the /blog
landing page when an Article is created.