- π¨π¦Canada sebish
This one is a bit old but since I was working on something similar, I wanted to say we can achieve this using a classic hook_preprocess_views_view.
Example:
function my_module_preprocess_views_view(array &$variables): void { $view = $variables['view']; if ($view->id() === 'my_view_name' && $view->current_display === 'my_view_display') { if (isset($variables['more'])) { $variables['more']['#attributes']['class'] = ['read-more', 'standalone-link']; $variables['more']['#attributes']['title'] = 'Teaser title text comes here.'; ... } }
Ultimately we could provide a way to easily template this with suggestion, since it's not as straightforward in my opinion.
I'm not sure we want to leave this opened or not. - πΊπΈUnited States smustgrave
So issue summary should be updated about why this would be needed. Recommend using standard template.
If it moves forward will need test coverage
All fixe should be in MR targettng 11.x