function views_pdf_rules_view_list in Views PDF 7.2
Same name and namespace in other branches
- 8 views_pdf.rules.inc \views_pdf_rules_view_list()
- 7.3 views_pdf.rules.inc \views_pdf_rules_view_list()
- 7 views_pdf.rules.inc \views_pdf_rules_view_list()
Implements hook_rules_view_list().
1 string reference to 'views_pdf_rules_view_list'
- views_pdf_rules_action_info in ./
views_pdf.rules.inc - Implements hook_rules_action_info().
File
- ./
views_pdf.rules.inc, line 46 - Rules integration of the mimemail and the PDF Views module.
Code
function views_pdf_rules_view_list() {
$views = views_get_all_views();
$list = array();
foreach ($views as $view => $view_object) {
foreach ($view_object->display as $display => $display_object) {
if ($display_object->display_plugin == 'pdf') {
$list[$view . ':' . $display] = $view_object->human_name . ': ' . $display_object->display_title;
}
}
}
return $list;
}