### File

`projects/app-base-library/src/lib/angular/modules/drupal/drupal.module.ts`

### Declarations

- DrupalMenuComponent
- NodeComponent
- NodeEditorComponent

### Exports

- DrupalMenuComponent
- NodeComponent
- NodeEditorComponent

    import {NgModule, ModuleWithProviders} from '@angular/core';
    import {CommonModule} from '@angular/common';
    import {FormsModule} from '@angular/forms';
    import {ReactiveFormsModule} from '@angular/forms';
    import {TranslateModule, TranslateLoader, TranslateService} from '@ngx-translate/core';
    import {NgxPermissionsModule} from 'ngx-permissions';
    // import {NgPipesModule} from 'ngx-pipes';

    import {DrupalMenuComponent} from './components/menu.component';
    import {NodeComponent} from './components/node.component';
    import {NodeEditorComponent} from './components/node-editor.component';
    // import {DrupalNodeComponent} from './drupal-node.component';
    // import {DrupalNodeEditorComponent} from './drupal-node-editor.component';

    @NgModule({
        declarations: [
            DrupalMenuComponent,
            NodeComponent,
            NodeEditorComponent,
            // DrupalNodeComponent,
            // DrupalNodeEditorComponent,
        ],
        imports: [
            CommonModule,
            FormsModule,
            ReactiveFormsModule,
            TranslateModule.forChild(),
            NgxPermissionsModule.forChild({
                permissionsIsolate: true,
                rolesIsolate: true,
            }),
            // NgPipesModule

        ],
        exports: [
            DrupalMenuComponent,
            NodeComponent,
            NodeEditorComponent,
            // DrupalNodeComponent,
            // DrupalNodeEditorComponent,
            TranslateModule,
            NgxPermissionsModule,
            // NgPipesModule
        ]
    })
    export class DrupalModule {

        static forRoot(): ModuleWithProviders {
            return {
                ngModule: DrupalModule
            };
        }

        static forChild(): ModuleWithProviders {
            return {
                ngModule: DrupalModule
            };
        }

    }

# results matching ""

# No results matching ""