Skip to content

Instantly share code, notes, and snippets.

@anthonyringoet
Created April 3, 2012 09:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anthonyringoet/2290741 to your computer and use it in GitHub Desktop.
Save anthonyringoet/2290741 to your computer and use it in GitHub Desktop.
Remove classes in drupal
<?php
// throw out unnecesary classes
$vars['classes_array'] = array_diff($vars['classes_array'], array('toRemove1', 'toRemove2'));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment