import { NgModule } from '@angular/core' ; import { ExtensionService , provideExtensionConfig } from '@alfresco/adf-extensions' ; import { CommonModule } from '@angular/common' ; import { CoreModule } from '@alfresco/adf-core' ; import { SettingsComponent } from './settings.component' ; import { RouterModule } from '@angular/router' ; @ NgModule ( { imports : [ CommonModule , RouterModule , CoreModule . forChild ( ) ] , declarations : [ SettingsComponent ] , providers : [ provideExtensionConfig ( [ 'settings.plugin.json' ] ) ] } ) export class AcaSettingsModule { constructor ( extensions ) { extensions . setComponents ( { 'app.settings.component' : SettingsComponent } ) ; } }