Core allows hiding the status (publishing) widget from node forms. But this module assumes that the widget will be shown - and its form alter hook acts as if the node is unpublished when the widget is hidden.

Instead, I don't think its form alter hook should really do anything when the status widget is hidden.

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

james.williams created an issue. See original summary.

james.williams’s picture

Assigned: james.williams » Unassigned
Status: Active » Needs review
StatusFileSize
new2.76 KB
new764 bytes

Patch attached :)

I've included a 'without whitespace' patch generated with git diff -w to help make clear what the actual change is here.

vinaysamant’s picture

astonvictor made their first commit to this issue’s fork.

astonvictor’s picture

Implemented the validation as MR.
thanks in advance

astonvictor’s picture

Status: Needs review » Fixed

merged

Now that this issue is closed, please review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, please credit people who helped resolve this issue.

Status: Fixed » Closed (fixed)

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