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.
The boxes controls are made inside function boxes_block_view().
Is it possible to make this into a theming function to make this reachable from the theming layer? (for adding attributes,…)
$block['controls'] = theme('links', array(
'links' => array(
'edit' => $edit_link,
'cancel' => array(
'title' => t('Cancel'),
'href' => $_GET['q'],
),
),
));