When I created a new add-on project I found the following code in the addon.configuration file in addition to what was created an another add-on project using version 1.4.2:
> @Bean("sf_SfUiActions")
public ActionsConfiguration actions(ApplicationContext applicationContext, AnnotationScanMetadataReaderFactory metadataReaderFactory) { ActionsConfiguration actionsConfiguration = new ActionsConfiguration(applicationContext, metadataReaderFactory); actionsConfiguration.setBasePackages(Collections.singletonList("com.inteacc.sf")); return actionsConfiguration; }
Can someone please explain what is the use of this and should I copy the code to my existing add-on projects?