Skip to content

Commit 1831543

Browse files
committed
fix(next-drupal): use equal sign for env variables
1 parent ec75562 commit 1831543

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

modules/next/src/Controllers/NextSiteEntityController.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,8 @@ public function environmentVariables(NextSiteInterface $next_site) {
5757
'DRUPAL_SITE_ID' => $next_site->uuid(),
5858
'DRUPAL_PREVIEW_SECRET' => $next_site->getPreviewSecret(),
5959
'DRUPAL_FRONT_PAGE' => $this->config('system.site')->get('page.front'),
60-
'DRUPAL_CLIENT_ID' => '',
61-
'DRUPAL_CLIENT_SECRET' => '',
60+
'DRUPAL_CLIENT_ID' => 'Retrieve this from /admin/config/services/consumer',
61+
'DRUPAL_CLIENT_SECRET' => 'Retrieve this from /admin/config/services/consumer',
6262
];
6363

6464
$build['container'] = [
@@ -70,7 +70,7 @@ public function environmentVariables(NextSiteInterface $next_site) {
7070
foreach ($variables as $name => $value) {
7171
$build['container'][$name] = [
7272
'#type' => 'inline_template',
73-
'#template' => '{{ name }}: {{ value }}<br/>',
73+
'#template' => '{{ name }}={{ value }}<br/>',
7474
'#context' => [
7575
'name' => $name,
7676
'value' => $value,

0 commit comments

Comments
 (0)