Ability to modify table structure needs one little thing

Created on 17 October 2014, about 10 years ago
Updated 2 May 2023, over 1 year ago

By adding an id element to the table vars, other modules can identify the table being themed using hook_preprocess_table. This patch does this and allows for the modification of the tables produced by prod_monitor. Here is a code example of how this could be implemented:

/**
 * Implements hook_preprocess_table().
 */
function my_module_preprocess_table(&$vars) {
  if ($vars['prod_monitor_id'] === 'overview_form') {
      ...
✨ Feature request
Status

Closed: outdated

Version

1.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States aklump

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024