- Issue created by @teknocat
- 🇨🇦Canada teknocat
Actually the ->toString() isn't needed and it doesn't need to be set in a variable. It can just follow the same pattern as for media and blocks:
foreach ($content_types as $item) { $content_type_items[] = [ 'title' => $item->label(), 'class' => $item->id(), 'url' => Url::fromRoute('node.add', ['node_type' => $item->id()]), ]; }
- Status changed to RTBC
11 months ago 10:53am 18 May 2024 - 🇨🇭Switzerland saschaeggi Zurich
@teknocat great discovery, let's merge this! 👏
- Status changed to Fixed
11 months ago 10:57am 18 May 2024 Automatically closed - issue fixed for 2 weeks with no activity.