Skip to content
Snippets Groups Projects
Commit e89b7f10 authored by Daniel Cothran's avatar Daniel Cothran
Browse files

fix translation warning message

parent 8348aeec
No related branches found
No related tags found
No related merge requests found
...@@ -19,8 +19,8 @@ class ChartsApiExample extends ControllerBase implements ContainerInjectionInter ...@@ -19,8 +19,8 @@ class ChartsApiExample extends ControllerBase implements ContainerInjectionInter
$library = $this->chartSettings['library']; $library = $this->chartSettings['library'];
if (!isset($library)) { if (!isset($library)) {
drupal_set_message('You need to first configure Charts default drupal_set_message(t('You need to first configure Charts default
settings'); settings'));
} }
$options = []; $options = [];
$options['type'] = $this->chartSettings['type']; $options['type'] = $this->chartSettings['type'];
......
...@@ -34,7 +34,7 @@ class Util { ...@@ -34,7 +34,7 @@ class Util {
} }
$data[$row_number] = $rowData; $data[$row_number] = $rowData;
} }
return $data; return $data;
} }
......
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