Skip to content

Commit

Permalink
update an old reference to t(). now it uses $this->t() (#3146)
Browse files Browse the repository at this point in the history
  • Loading branch information
gnuget authored and jmolivas committed Jan 31, 2017
1 parent 546c2d4 commit bbfa366
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/module/src/Form/form.php.twig
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ class {{ class_name }} extends FormBase {% endblock %}

$form['submit'] = [
'#type' => 'submit',
'#value' => t('Submit'),
'#value' => $this->t('Submit'),
];

return $form;
Expand Down

0 comments on commit bbfa366

Please sign in to comment.