Skip to content

Instantly share code, notes, and snippets.

@EclipseGc
Created September 28, 2012 20:41
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save EclipseGc/3801978 to your computer and use it in GitHub Desktop.
Save EclipseGc/3801978 to your computer and use it in GitHub Desktop.
/**
* Implements hook_block_alter().
*/
function bartik_block_alter(&$definitions) {
$definitions['page_primary_links']['class'] = 'Drupal\\bartik\\blocks\\PrimaryLinks';
$definitions['page_secondary_links']['class'] = 'Drupal\\bartik\\blocks\\SecondaryLinks';
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment