Problem/Motivation

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.

Steps to reproduce

- Go to the paragraphs page `/admin/structure/paragraphs_type`
- Go to the "Manage Fields" of an existing paragraph type
- Notice the `field_active` label is "Disable Display"

Proposed resolution

- Rename the label to "Published" like all other active/status fields
- Add a deploy hook to set the `field_active` value to TRUE on all existing paragraphs
- Remove the module file so that sites can control visibility of the paragraph by using their own template file as shown in the README file
- Add a REAMDE file

User interface changes

- Field label has been renamed from "Disable Display" to "Active"

Data model changes

- New deploy hook created to set the `field_active` value on all existing paragraphs to TRUE

Comments

shabana.navas created an issue. See original summary.

shabana.navas’s picture

Issue summary: View changes
shabana.navas’s picture

Status: Active » Needs review
StatusFileSize
new6.31 KB
shabana.navas’s picture

StatusFileSize
new6.15 KB

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.

shabana.navas’s picture

Issue summary: View changes
shabana.navas’s picture

Issue summary: View changes