contao / manager-bundle

[READ-ONLY] Contao Manager Bundle
GNU Lesser General Public License v3.0
17 stars 10 forks source link

[RFC] Use manager plugin to get commands and features #75

Closed aschempp closed 6 years ago

aschempp commented 6 years ago

As discussed with @leofeyer, the Contao Manager API should use features instead of a version number. This allows the Contao Manager to dynamically enable or disable UI options based on the supported features, which is way easier than testing for a number.

This PR allows Contao Manager Plugins to register API commands and announce features. This is more of a preparation because the Contao Manager obviously must know about a feature to actually use it, but at least this can be used by the contao/manager-bundle to enable application configuration (like prepend_locale).

/cc @contao/developers

leofeyer commented 6 years ago

I like this a lot. Good job @aschempp!

aschempp commented 6 years ago

Update for latest plugin. The tests are failing because plugin PR is not merged and released yet.

leofeyer commented 6 years ago

Thank you @aschempp. I like this a lot.

Toflar commented 6 years ago

Yes, really nice work!