I have a table in a form such as the 'user_admin_account' form. In one of the TD's I want to add a class, how do I do this the most convenient way?
This is what I currently have, it doesn't seem to work
$row = array(
'title' => array(
'data' => array(
'#title' => $name . ' ' . $surname,
'#attributes' => array(
'class' => array(
'myClass',
),
),
),
),
'date' => date('Y-m-d', $account->created),
'name' => $name . ' ' . $surname,
);