Skip to content

[Config] Note about bundle priority for PrependExtensionInterface #6920

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

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions bundles/prepend_extension.rst
Original file line number Diff line number Diff line change
Expand Up @@ -131,3 +131,8 @@ The above would be the equivalent of writing the following into the
// ...
'use_acme_goodbye' => false,
));

More than one bundle using PrependExtensionInterface
----------------------------------------------------
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

bundle -> Bundle


When there is more than one bundle prepending the same extension and defining the same key, the bundle that is registered **first** will take priority and next bundles won't override this specific config setting.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Minor re-wording and line breaks:

If there is more than one bundle that prepends the same extension and defines
the same key, the bundle that is registered **first** will take priority: next
bundles won't override this specific config setting.