Register flexforms with ::registerPlugin()
I think it is too much boiler plate to register a plugin flexform in the current system. What I'd want is something like this, using ::registerPlugin()
\TYPO3\CMS\Extbase\Utility\ExtensionUtility::registerPlugin( $_EXTKEY, 'Pi1', 'pi1', array('flexform1.xml', ...) );
What do you think?