Skip to content

Allow plugins to register generic assets capacities #19511

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

cedric-anne
Copy link
Member

Checklist before requesting a review

  • I have read the CONTRIBUTING document.
  • I have performed a self-review of my code.
  • I have added tests that prove my fix is effective or that my feature works.
  • This change requires a documentation update.

Description

This provides a method that can be used by plugins to register asset capacities from their setup function.

AssetDefinitionManager::getInstance()->registerCapacity(new MyPluginCapacity());

@cedric-anne cedric-anne force-pushed the 11.0/plugins-capacities branch from af8e2a4 to 3dbd9f2 Compare April 24, 2025 13:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant