Skip to content
Snippets Groups Projects
Unverified Commit c6d360ed authored by weaver299's avatar weaver299 Committed by GitHub
Browse files

Merge pull request #151 from ASCWebServices/canini

new custom module - Automatically changes the Published label for a n…
parents f1b6fbf7 38ff4f68
No related merge requests found
name: Publish Label Change
description: 'Automatically changes the Published label for a node so that users will not mistake node publish checkbox with paragraph publish checkbox'
core: 8.x
type: module
package: ASC Tech
dependencies:
- drupal:node
<?php
function publish_label_change_form_alter(&$form, &$form_state, $form_id) {
$form['status']['widget']['value']['#title'] = t('Page Published');
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment