docs: Port "Integrations" extension page to 7.2#590
Open
promptless-for-oss wants to merge 1 commit into
Open
Conversation
Ports the legacy AbstractIntegration guide from the legacy developer-documentation repo into docs/plugin_extensions/integrations.rst, converting Markdown to RST and pointing readers to the modern Integrations framework. Resolves docs issue mautic#329 (content from mautic#328), targeting the 7.2 base branch. Ref: mautic#329, mautic#328
| Integration class | ||
| ***************** | ||
|
|
||
| A Plugin can provide multiple Integrations, each defined as its own class in the bundle's ``Integration`` folder. The class extends ``Mautic\PluginBundle\Integration\AbstractIntegration``, which provides many helper methods, including OAuth authorization and request signing: |
Contributor
Author
There was a problem hiding this comment.
Ported the Integration class, Integration image, Authorization, Functions, and makeRequest sections plus the MarsIntegration example from the legacy _plugin_extending_integrations.md source, cleaning up the duplicated <?php line and the missing semicolon after return 'Red Mars' and adding PHP return types per the org style guide.
|
|
||
| .. note:: | ||
|
|
||
| This page covers the legacy ``AbstractIntegration`` approach. New Integrations should use the :doc:`Integrations framework</plugin_integrations/integrations>`, which separates authentication, configuration, and sync concerns into dedicated interfaces. |
Contributor
Author
There was a problem hiding this comment.
Issue #328 (parent of #329) supplied the legacy source URL and the "transfer the content under the note admonition" guidance, so the ported content is placed under the existing .. note:: placeholder and the legacy AbstractIntegration approach is cross-linked to the modern plugin_integrations/integrations framework page.
Source: #328
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Open this suggestion in Promptless to view citations and reasoning process
Ports the legacy AbstractIntegration guide from the legacy developer-documentation repo into docs/plugin_extensions/integrations.rst, converting Markdown to RST with a pointer to the modern Integrations framework. Targets the 7.2 base branch. Resolves docs issue #329 (content from parent #328).
Trigger Events
blockedlabel is to set content, structure, and tone in one branch, then backport/cherry pick i...Tip: Sort by Shortest Review in the Dashboard to find quick wins ⚡