Results
17.11.2019
accessibility 8.x-1.x-dev ::
modules/accessibility_testswarm/accessibility_testswarm.module
/** * Implements hook_theme_registry_alter(). */ function accessibility_testswarm_theme_registry_alter(&$theme_registry) { foreach ($theme_registry as $hook => $data) { $theme_registry[$hook] = array( 'function' => 'accessibility_testswarm_catch_function', 'theme path' => $data['theme path'], 'variables' => array(), 'original_theme' => $data,
27.07.2020
beautytips 8.x-1.x-dev ::
includes/drupal_help.inc
/** * Implementation of hook_theme_registry_alter */ function beautytips_drupal_help_theme_change(&$theme_registry) { if (\Drupal::moduleHandler()->moduleExists('help') && \Drupal::state()->get('beautytips_drupal_help', FALSE)) { // Override theme_more_help_link for more-help stuff $theme_registry['more_help_link']['function'] = 'theme_beautytips_drupal_help_more_help_link'; $theme_registry['more_help_link']['file'] = drupal_get_path('module', 'beautytips') . '/includes/drupal_help.inc';
27.07.2020
beautytips 8.x-1.x-dev ::
beautytips_ui/beautytips_ui.module
/** * Implementation of hook_theme_registry_alter(). */ function beautytips_ui_theme_registry_alter(&$theme_registry) { beautytips_ui_include_invoke('beautytips', 'theme_change', ['theme_registry' => &$theme_registry]); }
21.08.2019
care 8.x-1.x-dev ::
care_fields/care_fields.module
/** * Implements hook_theme_registry_alter(). */ function care_fields_theme_registry_alter(&$theme_registry) { if (isset($theme_registry['field_multiple_value_form'])) { $theme_registry['field_multiple_value_form']['type'] = 'module'; $theme_registry['field_multiple_value_form']['theme path'] = drupal_get_path('module', 'care_fields'); $theme_registry['field_multiple_value_form']['function'] = 'care_fields_field_multiple_value_form'; } }
11.09.2019
client_hints 8.x-1.0-alpha3 ::
modules/client_hints_everywhere/client_hints_everywhere.module
/** * Implements hook_theme_registry_alter(). */ function client_hints_everywhere_theme_registry_alter(&$theme_registry) { $theme_registry['image']['path'] = \Drupal::service('module_handler')->getModule('client_hints_everywhere')->getPath() . '/templates'; }
11.09.2019
client_hints 8.x-1.0-alpha3 ::
modules/client_hints_image_formatter/client_hints_image_formatter.module
/** * Implements hook_theme_registry_alter(). */ function client_hints_image_formatter_theme_registry_alter(&$theme_registry) { $theme_registry['image__client_hints']['path'] = \Drupal::service('module_handler')->getModule('client_hints_image_formatter')->getPath() . '/templates'; $theme_registry['image__client_hints']['template'] = 'image--client-hints'; } /**
17.07.2018
commerce 8.x-2.8 ::
modules/product/commerce_product.module
/** * Implements hook_theme_registry_alter(). */ function commerce_product_theme_registry_alter(&$theme_registry) { // The preprocess function must run after quickedit_preprocess_field(). $theme_registry['field']['preprocess functions'][] = 'commerce_product_remove_quickedit'; } /** * Turn off Quick Edit for injected variation fields, to avoid warnings.
06.04.2018
commerce_cart_categories 8.x-1.1 ::
commerce_cart_categories.module
/** * Implements hook_theme_registry_alter() * Here we instruct Drupal to use our custom templates for cart block and cart form */ function commerce_cart_categories_theme_registry_alter(&$theme_registry){ $theme_registry['views_view_table__commerce_cart_block']['path'] = drupal_get_path('module','commerce_cart_categories') . '/templates'; $theme_registry['views_view_table__commerce_cart_block']['template'] = 'views-view-table--commerce-cart-block'; $theme_registry['views_view_table__commerce_cart_form']['path'] = drupal_get_path('module','commerce_cart_categories') . '/templates'; $theme_registry['views_view_table__commerce_cart_form']['template'] = 'views-view-table--commerce-cart-block'; }
16.04.2018
content_entity_base 8.x-1.x-dev ::
content_entity_base.module
/** * Implements hook_theme_registry_alter. */ function content_entity_base_theme_registry_alter(&$theme_registry) { // Check for entity_add_list which was added in 8.1.x. if (!isset($theme_registry['entity_add_list'])) { $theme_registry['entity_add_list'] = [ 'variables' => [ 'bundles' => [], 'bundle_type' => NULL,
07.04.2018
express 8.x-1.x-dev ::
themes/contrib/bootstrap/src/Bootstrap.php
* * @see \Drupal\bootstrap\Plugin\Alter\ThemeRegistry::alter() * @see bootstrap_theme_registry_alter() * @see bootstrap_theme() * @see hook_theme() */ public static function getThemeHooks() { $hooks['bootstrap_carousel'] = [ 'variables' => [
12.03.2020
fancyload 8.x-1.8 ::
fancyload.module
/** * Implements hook_theme_registry_alter(). */ function fancyload_theme_registry_alter(&$theme_registry) { $alter = new ThemeRegistryAlter(\Drupal::moduleHandler(), \Drupal::configFactory()); $alter->themeRegistryAlter($theme_registry); } /** * Implements hook_preprocess_image().
08.10.2020
field_group_label_classes 8.x-1.2 ::
field_group_label_classes.module
/** * Implements hook_theme_registry_alter(). */ function field_group_label_classes_theme_registry_alter(&$theme_registry) { $theme_registry['field_group_html_element']['path'] = drupal_get_path('module', 'field_group_label_classes') . '/templates'; } /** * Implements hook_preprocess_HOOK(). */
18.10.2018
filter_checkboxes 8.x-1.x-dev ::
filter_checkboxes.module
/** * Implements hook_theme_registry_alter(). */ function filter_checkboxes_theme_registry_alter(array &$theme_registry) { $theme_registry['checkboxes']['preprocess functions'][] = 'filter_checkboxes_preprocess_checkboxes'; } /** * Preprocess for the theme_checkboxes theming. */
23.07.2019
hospital_management 8.x-1.x-dev ::
web/themes/bootstrap/src/Bootstrap.php
* * @see \Drupal\bootstrap\Plugin\Alter\ThemeRegistry::alter() * @see bootstrap_theme_registry_alter() * @see bootstrap_theme() * @see hook_theme() */ public static function getThemeHooks() { $hooks['bootstrap_carousel'] = [ 'variables' => [
26.02.2019
local_translation 8.x-1.x-dev ::
modules/local_translation_content/local_translation_content.module
/** * Implements hook_theme_registry_alter(). */ function local_translation_content_theme_registry_alter(&$theme_registry) { // Specify the path for the template of views_ui_expose_filter_form. $path = drupal_get_path('module', 'local_translation_content') . '/templates'; $theme_registry['views_ui_expose_filter_form']['path'] = $path; } /**
25.01.2018
menu_views 8.x-3.x-dev ::
menu_views.module
/** * Implements hook_theme_registry_alter(). * Intercepts theme_menu_link(). */ function menu_views_theme_registry_alter(&$registry) { // Save previous value from registry in case another module/theme overwrites theme_menu_link() as well. $registry['menu_views_menu_link_default'] = $registry['menu_link']; $registry['menu_link']['function'] = 'menu_views_menu_link'; // Provide Superfish support. if (isset($registry['superfish_menu_item_link'])) { $registry['menu_views_superfish_menu_item_link_default'] = $registry['superfish_menu_item_link'];
20.05.2018
plus 8.x-4.x-dev ::
src/Plugin/Theme/ThemeInterface.php
* * @see \Drupal\plus\Plugin\Alter\ThemeRegistry::alter() * @see plus_theme_registry_alter() * @see plus_theme() * @see hook_theme() */ public function getThemeHooks($existing, $type, $theme, $path); /**
20.05.2018
plus 8.x-4.x-dev ::
plus.8.php
// * implemented. // */ //function plus_theme_registry_alter(&$data, &$context1 = NULL, &$context2 = NULL) { // Plus::getActiveTheme()->doAlter(__FUNCTION__, $data, $context1, $context2); //} // ///** // * {@inheritdoc} // *
19.06.2020
psv 8.x-2.9 ::
psv.module
/** * Implements hook_theme_registry_alter(). * * {@inheritdoc} */ function psv_theme_registry_alter(&$theme_registry) { $psv_settings = \Drupal::config('psv.config'); if ($psv_settings->get('psv_enable') != 0) { $module_path = drupal_get_path('module', 'psv'); $theme_registry['page__psv'] = [ 'preprocess functions' => [
29.12.2019
quadstat_misc 8.x-1.x-dev ::
quadstat_misc.module
/** * Implements hook_theme_registry_alter */ function quadstat_misc_theme_registry_alter(&$theme_registry) { $path = drupal_get_path('module', 'quadstat_misc') . '/templates'; #$theme_registry['webform_submission_html']['path'] = $path; #$theme_registry['webform_submission_html']['template'] = 'custom-submission-html'; #$theme_registry['webform_submission_information']['path'] = $path; #$theme_registry['webform_submission_information']['template'] = 'custom-submission-information'; $theme_registry['node']['type'] = 'theme';