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.