Next.js for Drupal
DocsDemoGitHubDrupal
/
,

SiteResolver

Learn how to build custom site resolver plugins.


SiteResolver plugins are responsible for resolving next_site entities for an entity. This can be based on the entity type, the bundle, the publish status or a field value.

Example

See \Drupal\next\Plugin\Next\SiteResolver\EntityReferenceField.

SitePreviewer

© 2021 Next.js for Drupal - Development sponsored by Chapter Three.

DocsDemoGitHubDrupal