You are here

node.type.CONTENT_TYPE.bit.yml in Varbase: The Ultimate Drupal CMS Starter Kit (Bootstrap Ready) 8.8

configbit/varbase_config_templates/node.type.CONTENT_TYPE.bit.yml

File

configbit/varbase_config_templates/node.type.CONTENT_TYPE.bit.yml
View source
  1. type: action
  2. status: true
  3. targetEntityType: node
  4. token_variant: type
  5. event: config.save
  6. event_config: node.type.CONTENT_TYPE
  7. config_bits:
  8. workflows.workflow.varbase_simple_workflow:
  9. # -----------------------------------------------------------------------------.
  10. # Add the node type to the Varbase Simple workflow.
  11. # -----------------------------------------------------------------------------.
  12. - add:
  13. dependencies:
  14. module:
  15. - varbase_workflow
  16. config:
  17. - node.type.CONTENT_TYPE
  18. - workflows.workflow.varbase_simple_workflow
  19. target_config_path: type_settings
  20. expected_config_wild_card: 'workflows.workflow.'
  21. target_config_expected_not_to_have:
  22. entity_types:
  23. node:
  24. - CONTENT_TYPE
  25. target_config_value:
  26. entity_types:
  27. node:
  28. - CONTENT_TYPE
  29. metatag.settings:
  30. # -----------------------------------------------------------------------------.
  31. # Add default metatags config template when content types been created with
  32. # only Basic tags metatags.
  33. # -----------------------------------------------------------------------------.
  34. - add:
  35. dependencies:
  36. module:
  37. - metatag
  38. config:
  39. - node.type.CONTENT_TYPE
  40. - metatag.settings
  41. target_config_path: entity_type_groups
  42. target_config_expected_not_to_have:
  43. node:
  44. CONTENT_TYPE:
  45. basic: basic
  46. target_config_value:
  47. node:
  48. CONTENT_TYPE:
  49. basic: basic