Skip to content

Replace use of PluginManager with Cntlr.plugins#62

Draft
aaroncameron-wk wants to merge 1 commit into
Arelle:masterfrom
aaroncameron-wk:plugin-provider
Draft

Replace use of PluginManager with Cntlr.plugins#62
aaroncameron-wk wants to merge 1 commit into
Arelle:masterfrom
aaroncameron-wk:plugin-provider

Conversation

@aaroncameron-wk
Copy link
Copy Markdown

Description:

Refactor plugin invocation to align with the upcoming deprecation of the global PluginManager in Arelle. This update migrates logic to use the PluginProvider instance provided by the Cntlr (accessible via cntlr.plugins).

Important

disableiXBRLViewerPluginInfo currently disables the ixbrl-viewer plugin if it is enabled. Enabling/disabling or otherwise manipulating plugin state through plugin metadata is not something we intend to support in Arelle going forward, so I've replaced it with only a log message (this can be elevated to a warning or error if desired).

Important

XuleInterface.getXuleMethod has been updated to more directly invoke the provided plugin hook. It does not rely on the explicit check for a xule plugin, though it will still trigger logs if the plugin is not configured as expected.

review:
@freddym56
@Arelle/arelle

@austinmatherne-wk austinmatherne-wk marked this pull request as draft May 15, 2026 13:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants