Functions and templates for the user interface that themes can override. Drupal's theme system allows a theme to have nearly complete control
hook_css_alter(&$css, \Drupal\Core\Asset\AttachedAssetsInterface $assets) Alter CSS files before they are
hook_themes_uninstalled(array $themes) Respond to themes being uninstalled. Parameters
hook_template_preprocess_default_variables_alter(&$variables) Alter the default, hook-independent variables
hook_page_top(array &$page_top) Add a renderable array to the top of the page.
hook_library_info_alter(&$libraries, $extension) Alter libraries provided by an extension.
hook_theme($existing, $type, $theme, $path) Register a module or theme's theme implementations.
hook_themes_installed($theme_list) Respond to themes being installed. Parameters
hook_library_info_build() Add dynamic library definitions. Modules may implement
hook_theme_suggestions_HOOK(array $variables) Provides alternate named suggestions for a specific theme hook
Page 1 of 3