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.
These functions, see below, do not seem to work.
function polished_preprocess(&$vars, $hook) {
$vars['sample_variable'] = t('Lorem ipsum.');
}
// */
Comments
Comment #1
himerus CreditAttribution: himerus commentedUnless your theme is named polished, you will need to rename this function, and any functions.
This is my oversight as it was a commented out function that was never renamed to omgea_starterkit_preprocess.
Any mentions of omega_starterkit_ and polished_ should be replaced with your_theme_