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).
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 (likeprepend_locale
)./cc @contao/developers