Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
By gibbo1715 on
Hi
how would I add an edit icon to final row in my table please
I am looping through my returned database records as follows
foreach ($r as $row) {
$rows[] = array(
$row->member_name,
$row->email_address,
$row->role,
check_markup($row->notes, 'line_breaks'),
);
Comments
Figured this out, the row
Figured this out, the row doesn't need to be a database row and I can add my own $row->edit = 'edit',
Just need to make sure I make space in the title
Just incase others get stuck on the same thing