- Issue created by @shabana.navas
- 🇮🇳India shabana.navas
Remove `.module` file as admin users should be able to see the paragraph from the edit form, regardless of status. Instead, let them use the theme to control the visibility of the paragraph.
The field name is `field_active`, however, the label is called "Disable Display". It really doesn't make sense to have the field name and the label mismatch each other.
- Rename the label to "Published" like all other active/status fields
- Add a deploy hook to set the `field_active` value to TRUE
- Modify the module file to only unset the paragraph if `field_active` is FALSE
- Add a REAMDE file
- Field label has been renamed from "Disable Display" to "Active"
- New deploy hook created to set the `field_active` value on all existing paragraphs to TRUE
Active
1.0
Code
Remove `.module` file as admin users should be able to see the paragraph from the edit form, regardless of status. Instead, let them use the theme to control the visibility of the paragraph.