function faqpanels_faq_term_enable in Panels Extras 7
Same name and namespace in other branches
- 6 faqpanels/plugins/tasks/faq_term.inc \faqpanels_faq_term_enable()
Callback to enable/disable the page from the UI.
1 string reference to 'faqpanels_faq_term_enable'
- faqpanels_faq_term_page_manager_tasks in faqpanels/
plugins/ tasks/ faq_term.inc - Specialized implementation of hook_page_manager_task_tasks(). See api-task.html for more information.
File
- faqpanels/
plugins/ tasks/ faq_term.inc, line 180 - Provides additional page manager tasks FAQ page for panels use
Code
function faqpanels_faq_term_enable($cache, $status) {
variable_set('faqpanels_faq_term_disabled', $status);
// Set a global flag so that the menu routine knows it needs
// to set a message if enabling cannot be done.
if (!$status) {
$GLOBALS['faqpanels_enabling_faq_term'] = TRUE;
}
}