You are here

function block_visibility_theme_registry_alter in Block Visibility 7

Implements hook_theme_registry_alter()

Switch out the template file so we can add the visibility column.

Parameters

<type> $theme_registry:

File

./block_visibility.module, line 10

Code

function block_visibility_theme_registry_alter(&$theme_registry) {
  $theme_registry['block_admin_display_form']['template'] = 'block-visibility-admin-display-form';
  $theme_registry['block_admin_display_form']['path'] = drupal_get_path('module', 'block_visibility');
}