Problem/Motivation

We need to create the node type programatically upon installation of the module. Node type & content should be deleted upon uninstall.

Proposed resolution

Create the node type using config/install

Fields:

  • Title --> hidden as there is no need
  • Body: Full text
  • Related question: Node reference

Remaining tasks

Create the node type.

User interface changes

A new node type is available.

API changes

N/A

Data model changes

N/A

Release notes snippet

N/A

Comments

BramDriesen created an issue. See original summary.

bramdriesen’s picture

Issue summary: View changes

Added another field that is needed.

  • BramDriesen committed 51dd2b9 on 8.x-1.x
    Issue #3033121 by BramDriesen: Programmatically create the node type "...
  • BramDriesen committed c891157 on 8.x-1.x
    Issue #3033121 by BramDriesen: Programmatically create the node type "...
bramdriesen’s picture

Issue summary: View changes
bramdriesen’s picture

Assigned: bramdriesen » Unassigned
Status: Active » Fixed

Re-did all the fields as the machine names where becoming too long. Instead of "answer_stack(_core)_field_name" "asc_field_name" will be used.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.