Commit d701ba28 authored by TravisCarden's avatar TravisCarden

By TravisCarden: Typecast TranslatableMarkup to string per #2564451.

parent 82ea3675
......@@ -34,7 +34,7 @@ class ChecklistapiRouteSubscriber extends RouteSubscriberBase {
// View/edit checklist.
$routes["checklistapi.checklists.{$id}"] = new Route($definition['#path'], [
'_title' => $definition['#title'],
'_title' => (string) $definition['#title'],
'_form' => '\Drupal\checklistapi\Form\ChecklistapiChecklistForm',
'checklist_id' => $id,
'op' => 'any',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment