added drupal config for REST
This commit is contained in:
		@@ -109,9 +109,12 @@ module:
 | 
			
		||||
  redirect: 0
 | 
			
		||||
  redis: 0
 | 
			
		||||
  responsive_image: 0
 | 
			
		||||
  rest: 0
 | 
			
		||||
  restui: 0
 | 
			
		||||
  search_api: 0
 | 
			
		||||
  search_api_db: 0
 | 
			
		||||
  select_translation: 0
 | 
			
		||||
  serialization: 0
 | 
			
		||||
  simplenews: 0
 | 
			
		||||
  smart_trim: 0
 | 
			
		||||
  smtp: 0
 | 
			
		||||
 
 | 
			
		||||
@@ -1,5 +1,5 @@
 | 
			
		||||
uuid: 400201fd-9145-4ea2-bace-9325c7ef59f5
 | 
			
		||||
langcode: fr
 | 
			
		||||
langcode: en
 | 
			
		||||
status: true
 | 
			
		||||
dependencies:
 | 
			
		||||
  enforced:
 | 
			
		||||
 
 | 
			
		||||
							
								
								
									
										18
									
								
								config/sync/rest.resource.entity.block.yml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										18
									
								
								config/sync/rest.resource.entity.block.yml
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,18 @@
 | 
			
		||||
uuid: 9d8cdf5f-aab0-4a7a-b60b-1a20635a0baa
 | 
			
		||||
langcode: en
 | 
			
		||||
status: true
 | 
			
		||||
dependencies:
 | 
			
		||||
  module:
 | 
			
		||||
    - block
 | 
			
		||||
    - serialization
 | 
			
		||||
    - user
 | 
			
		||||
id: entity.block
 | 
			
		||||
plugin_id: 'entity:block'
 | 
			
		||||
granularity: resource
 | 
			
		||||
configuration:
 | 
			
		||||
  methods:
 | 
			
		||||
    - GET
 | 
			
		||||
  formats:
 | 
			
		||||
    - json
 | 
			
		||||
  authentication:
 | 
			
		||||
    - cookie
 | 
			
		||||
							
								
								
									
										18
									
								
								config/sync/rest.resource.entity.node.yml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										18
									
								
								config/sync/rest.resource.entity.node.yml
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,18 @@
 | 
			
		||||
uuid: 268f10a8-04a2-4b09-a229-35fd0bf2061e
 | 
			
		||||
langcode: en
 | 
			
		||||
status: true
 | 
			
		||||
dependencies:
 | 
			
		||||
  module:
 | 
			
		||||
    - node
 | 
			
		||||
    - serialization
 | 
			
		||||
    - user
 | 
			
		||||
id: entity.node
 | 
			
		||||
plugin_id: 'entity:node'
 | 
			
		||||
granularity: resource
 | 
			
		||||
configuration:
 | 
			
		||||
  methods:
 | 
			
		||||
    - GET
 | 
			
		||||
  formats:
 | 
			
		||||
    - json
 | 
			
		||||
  authentication:
 | 
			
		||||
    - cookie
 | 
			
		||||
							
								
								
									
										18
									
								
								config/sync/rest.resource.entity.user.yml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										18
									
								
								config/sync/rest.resource.entity.user.yml
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,18 @@
 | 
			
		||||
uuid: bd322962-35bf-485b-bc88-83d3f5fd0251
 | 
			
		||||
langcode: en
 | 
			
		||||
status: true
 | 
			
		||||
dependencies:
 | 
			
		||||
  module:
 | 
			
		||||
    - serialization
 | 
			
		||||
    - user
 | 
			
		||||
id: entity.user
 | 
			
		||||
plugin_id: 'entity:user'
 | 
			
		||||
granularity: resource
 | 
			
		||||
configuration:
 | 
			
		||||
  methods:
 | 
			
		||||
    - GET
 | 
			
		||||
    - POST
 | 
			
		||||
  formats:
 | 
			
		||||
    - json
 | 
			
		||||
  authentication:
 | 
			
		||||
    - cookie
 | 
			
		||||
							
								
								
									
										3
									
								
								config/sync/rest.settings.yml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										3
									
								
								config/sync/rest.settings.yml
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,3 @@
 | 
			
		||||
bc_entity_resource_permissions: false
 | 
			
		||||
_core:
 | 
			
		||||
  default_config_hash: Jg3_yqsTIZ51KOKp3OV2KDVVrlx3N3OCEfniEse09KE
 | 
			
		||||
							
								
								
									
										4
									
								
								config/sync/serialization.settings.yml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										4
									
								
								config/sync/serialization.settings.yml
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,4 @@
 | 
			
		||||
bc_primitives_as_strings: false
 | 
			
		||||
bc_timestamp_normalizer_unix: false
 | 
			
		||||
_core:
 | 
			
		||||
  default_config_hash: 6A1rmsmNf4SJrwCEt_aZyO_kPYuFnIOPC2n5lJiIftA
 | 
			
		||||
		Reference in New Issue
	
	Block a user