### Hierarchy

- Drupal

## Index

### Constructors

- constructor

### Properties

- api
- authenticated
- baseUrl
- base_path
- cache
- config
- cors
- credentials
- defaultAuthHeader
- defaultUser
- domain
- file_directory_path
- isLocal
- jDrupal
- jsonApi
- options
- protocol
- restoreLocalModel
- routes
- saveLocalModel
- settings
- siteParams
- sites
- standalone
- static
- user
- version

### Methods

- bookLoad
- createNode
- getAppNode
- getLocalStorageCredentials
- getParams
- getSiteData
- getView
- init
- initApi
- login
- logout
- menuLoad
- nodeLoad
- nodesLoad
- parseBookTree

### Object literals

- model

## Constructors

### constructor

- new Drupal(config?: any, apiService?: any): Drupal

- - Defined in cms/drupal/drupal.ts:45

  #### Parameters

  - ##### Default value config: any = undefined

  - ##### Default value apiService: any = undefined

  #### Returns Drupal

## Properties

### api

api: BaseApi

- Defined in cms/drupal/drupal.ts:10

### authenticated

authenticated: boolean

- Defined in cms/drupal/drupal.ts:11

### baseUrl

baseUrl: string

- Defined in cms/drupal/drupal.ts:13

### base_path

base_path: string

- Defined in cms/drupal/drupal.ts:12

### cache

cache: boolean = false

- Defined in cms/drupal/drupal.ts:14

### config

config: ConfigService

- Defined in cms/drupal/drupal.ts:15

### cors

cors: boolean

- Defined in cms/drupal/drupal.ts:16

### credentials

credentials: any

- Defined in cms/drupal/drupal.ts:17

### defaultAuthHeader

defaultAuthHeader: string = "Basic c2VydmljZXM6OSs0djJGdm0zMi84Ymtl"

- Defined in cms/drupal/drupal.ts:18

### defaultUser

defaultUser: string = "services"

- Defined in cms/drupal/drupal.ts:19

### domain

domain: string

- Defined in cms/drupal/drupal.ts:20

### file_directory_path

file_directory_path: string

- Defined in cms/drupal/drupal.ts:21

### isLocal

isLocal: boolean

- Defined in cms/drupal/drupal.ts:22

### jDrupal

jDrupal: any

- Defined in cms/drupal/drupal.ts:24

### jsonApi

jsonApi: DrupalApi

- Defined in cms/drupal/drupal.ts:23

### options

options: any

- Defined in cms/drupal/drupal.ts:34

### protocol

protocol: string

- Defined in cms/drupal/drupal.ts:35

### restoreLocalModel

restoreLocalModel: restoreLocalModel = Storage.restoreLocalModel

- Defined in cms/drupal/drupal.ts:36

### routes

routes: any

- Defined in cms/drupal/drupal.ts:37

### saveLocalModel

saveLocalModel: saveLocalModel = Storage.saveLocalModel

- Defined in cms/drupal/drupal.ts:40

### settings

settings: any

- Defined in cms/drupal/drupal.ts:38

### siteParams

siteParams: any

- Defined in cms/drupal/drupal.ts:41

### sites

sites: any

- Defined in cms/drupal/drupal.ts:39

### standalone

standalone: boolean

- Defined in cms/drupal/drupal.ts:42

### static

static: boolean

- Defined in cms/drupal/drupal.ts:43

### user

user: any

- Defined in cms/drupal/drupal.ts:44

### version

version: string = "drupal-8"

- Defined in cms/drupal/drupal.ts:45

## Methods

### bookLoad

- bookLoad(bid: number, preload?: boolean): any

- - Defined in cms/drupal/drupal.ts:293

  #### Parameters

  - ##### bid: number

  - ##### Default value preload: boolean = false

  #### Returns any

### createNode

- createNode(data: any): any

- - Defined in cms/drupal/drupal.ts:365

  #### Parameters

  - ##### data: any

  #### Returns any

### getAppNode

- getAppNode(uuid: any): any

- - Defined in cms/drupal/drupal.ts:203

  #### Parameters

  - ##### uuid: any

  #### Returns any

### getLocalStorageCredentials

- getLocalStorageCredentials(): any

- - Defined in cms/drupal/drupal.ts:252

  #### Returns any

### getParams

- getParams(): any

- - Defined in cms/drupal/drupal.ts:178

  #### Returns any

### getSiteData

- getSiteData(promises: any): any

- - Defined in cms/drupal/drupal.ts:240

  #### Parameters

  - ##### promises: any

  #### Returns any

### getView

- getView(viewEntity: any, params?: any): any

- - Defined in cms/drupal/drupal.ts:193

  #### Parameters

  - ##### viewEntity: any

  - ##### Default value params: any = undefined

  #### Returns any

### init

- init(options: any): any

- - Defined in cms/drupal/drupal.ts:69

  #### Parameters

  - ##### options: any

  #### Returns any

### initApi

- initApi(options: any): void

- - Defined in cms/drupal/drupal.ts:109

  #### Parameters

  - ##### options: any

  #### Returns void

### login

- login(username: any, password: any): any

- - Defined in cms/drupal/drupal.ts:154

  #### Parameters

  - ##### username: any

  - ##### password: any

  #### Returns any

### logout

- logout(): any

- - Defined in cms/drupal/drupal.ts:166

  #### Returns any

### menuLoad

- menuLoad(mid: string, preloadNodes?: boolean): Promise<void>

- - Defined in cms/drupal/drupal.ts:270

  #### Parameters

  - ##### mid: string

  - ##### Default value preloadNodes: boolean = false

  #### Returns Promise<void>

### nodeLoad

- nodeLoad(nid: number): any

- - Defined in cms/drupal/drupal.ts:335

  #### Parameters

  - ##### nid: number

  #### Returns any

### nodesLoad

- nodesLoad(nids: any): any

- - Defined in cms/drupal/drupal.ts:351

  #### Parameters

  - ##### nids: any

  #### Returns any

### parseBookTree

- parseBookTree(bid: number): any

- - Defined in cms/drupal/drupal.ts:310

  #### Parameters

  - ##### bid: number

  #### Returns any

## Object literals

### model

model: object

- Defined in cms/drupal/drupal.ts:25

### books

books: object

- Defined in cms/drupal/drupal.ts:30

#### Type declaration

### collections

collections: object

- Defined in cms/drupal/drupal.ts:27

#### Type declaration

### entities

entities: object

- Defined in cms/drupal/drupal.ts:26

#### Type declaration

### menus

menus: object

- Defined in cms/drupal/drupal.ts:29

#### Type declaration

### nodes

nodes: object

- Defined in cms/drupal/drupal.ts:32

#### Type declaration

### siteParams

siteParams: object

- Defined in cms/drupal/drupal.ts:31

#### Type declaration

### views

views: object

- Defined in cms/drupal/drupal.ts:28

#### Type declaration