Skip to content
Snippets Groups Projects
Commit 987e3f56 authored by Eric Bremner's avatar Eric Bremner
Browse files

Merge branch 'feature/ISTWCMS-5754-ebremner-csv-menu-report' of...

Merge branch 'feature/ISTWCMS-5754-ebremner-csv-menu-report' of https://git.uwaterloo.ca/wcms/uw_cfg_common into feature/ISTWCMS-5754-ebremner-csv-menu-report
parents 38ffc6dc fba73dae
No related branches found
No related tags found
1 merge request!270Feature/istwcms 5754 ebremner csv menu report
......@@ -45,7 +45,8 @@ class UwDownloadCsvController extends ControllerBase {
*/
protected $configFactory;
/** The database connection.
/**
* The database connection.
*
* @var \Drupal\Core\Database\Connection
*/
......@@ -130,7 +131,7 @@ class UwDownloadCsvController extends ControllerBase {
// Step through each of the nodes and get the info.
foreach ($nodes as $node) {
// Pull out the info about the node, making sure the title is CSV-safe.
// Pull out the info about the node.
$data = [
'nid' => $node->id(),
'title' => '"' . str_replace('"', '""', $node->getTitle()) . '"',
......
......@@ -44,7 +44,7 @@ uw_cfg_common.uw_content_report_csv:
uw_cfg_common.uw_menu_report_csv:
path: '/admin/reports/uw_menu_report_csv'
defaults:
_title: 'Download UW Menu Report (CSV)'
_title: 'Download UW menu report (CSV)'
_controller: \Drupal\uw_cfg_common\Controller\UwDownloadCsvController::uwMenuReport
requirements:
_permission: 'view UW CSV reports'
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