Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- use DrupalCoreLink;
- $row[] = [
- 'data' => Link::createFromRoute(...),
- 'class' => 'middle',
- ];
- $row[] = [
- 'data' => Link::createFromRoute(...),
- 'class' => 'middle',
- ];
- $rows[] = ['data' => $row, 'no_striping' => TRUE];
- return [
- '#theme' => 'table',
- '#header' => [..],
- '#rows' => $rows,
- ];
Add Comment
Please, Sign In to add comment