Initial Drupal 11 with DDEV setup
This commit is contained in:
		
							
								
								
									
										32
									
								
								web/core/recipes/article_comment/recipe.yml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										32
									
								
								web/core/recipes/article_comment/recipe.yml
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,32 @@
 | 
			
		||||
name: 'Article comments'
 | 
			
		||||
description: 'Provides commenting on article content.'
 | 
			
		||||
type: 'Content field'
 | 
			
		||||
recipes:
 | 
			
		||||
  - article_content_type
 | 
			
		||||
  - comment_base
 | 
			
		||||
config:
 | 
			
		||||
  # If the `comment` field already exists, it is guaranteed to be the right
 | 
			
		||||
  # field type because the comment_base recipe treats the field storage strictly.
 | 
			
		||||
  strict: false
 | 
			
		||||
  actions:
 | 
			
		||||
    core.entity_form_display.node.article.default:
 | 
			
		||||
      setComponent:
 | 
			
		||||
        name: comment
 | 
			
		||||
        options:
 | 
			
		||||
          type: comment_default
 | 
			
		||||
          weight: 20
 | 
			
		||||
          region: content
 | 
			
		||||
          settings: {}
 | 
			
		||||
          third_party_settings: {}
 | 
			
		||||
    core.entity_view_display.node.article.default:
 | 
			
		||||
      setComponent:
 | 
			
		||||
        name: comment
 | 
			
		||||
        options:
 | 
			
		||||
          type: comment_default
 | 
			
		||||
          label: above
 | 
			
		||||
          settings:
 | 
			
		||||
            view_mode: default
 | 
			
		||||
            pager_id: 0
 | 
			
		||||
          third_party_settings: {  }
 | 
			
		||||
          weight: 110
 | 
			
		||||
          region: content
 | 
			
		||||
		Reference in New Issue
	
	Block a user