recipe.yml
File
-
core/
tests/ fixtures/ recipes/ create_node_type/ recipe.yml
View source
- name: Create node type
- install:
- - node
- input:
- node_type:
- data_type: string
- description: 'The ID of a node type to create'
- default:
- source: value
- value: 'test'
- config:
- actions:
- node.type.${node_type}:
- createIfNotExists:
- name: Test Content Type
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.