Skip to content
Snippets Groups Projects

Issue #3322484 by rp7, anybody: Allow to override the toggle label

Issue #3322484 by rp7, anybody: Allow to override the toggle label
1 open thread

Closes #3322484

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
25 25 */
26 26 class OptionsTableWidget extends OptionsWidgetBase {
27 27
28 /**
29 * {@inheritdoc}
30 */
31 public static function defaultSettings() {
32 return [
33 'toggle_label' => NULL,
  • I think this is a good approach.

    Could we set 'Enabled' as the default value to not introduce any behavior change for exiting sites using the module?

    Site administrators will be able to change it afterwards if they find the label is not the best.

  • Please register or sign in to reply
Please register or sign in to reply
Loading