Add Hook to register aspects
brotkrueml opened this issue · comments
Currently, there are aspects for embedding the WebPage type and the BreadCrumbList dependent on the extension configuration. For EXT:schema_records it is needed, to register an additional aspects (brotkrueml/schema-records#3.
- A hook for registering aspects is available.
- The current definitions of WebPageAspect and BreadcrumbListAspect are registered to this hook.
The hook will be treated internal. When the minimum requirement of the schema extension is TYPO3 v10, the hook can be replaced through a PSR-14 event.