expo changed window title

This commit is contained in:
2020-01-09 14:44:16 +01:00
parent e32c4fab75
commit 8ea7ffeea2
3 changed files with 5 additions and 2 deletions
@@ -61,7 +61,8 @@ function edlp_ajax_page_attachments(array &$attachments) {
$redirect = true;
}
// $redirect = false;
$site_name = \Drupal::config('system.site')->get('name');
$js_str = "var edlp = {\n
sys_path:'".$current_path."',\n
is_front:".($is_front ? 'true':'false').",\n
@@ -71,6 +72,7 @@ function edlp_ajax_page_attachments(array &$attachments) {
entity_bundle:'".$entity_bundle."',\n
entity_id:'".$entity_id."',\n
audio_url:'".$audio_url."',\n
site_name:'".$site_name."',\n
};";
$attachments['#attached']['html_head'][] = [