Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[WIP] Feature/quick review of hosting patches #8

Open
wants to merge 14 commits into
base: 7.x-3.x
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Issue #2849795: Add a checkbox to the hosting queue daemon settings p…
…age for pausing the queue.
jonpugh committed Feb 5, 2017
commit e8819ef41c73a460dc01c647ed83c427f4d44ec7
7 changes: 7 additions & 0 deletions queued/hosting_queued.admin.inc
Original file line number Diff line number Diff line change
@@ -53,6 +53,13 @@ function hosting_queued_settings_form($form, &$form_state) {
60 * 60,
), 'format_interval'),
);

$form['hosting_queued_paused'] = array(
'#type' => 'checkbox',
'#title' => t('Pause the Hosting Queue'),
'#description' => t('Temporarily pause the hosting queue from running tasks.'),
'#default_value' => variable_get('hosting_queued_paused', 0),
);

return system_settings_form($form);
// @ignore security_fapi_markup