| ThemeTest::testCSSOverride |
function |
core/modules/system/tests/src/Functional/Theme/ThemeTest.php |
Ensures a theme's .info.yml file is able to override a module CSS file from being added to the page. |
| ThemeTest::testDrupalRenderChildren |
function |
core/modules/system/tests/src/Kernel/Theme/ThemeTest.php |
Tests child element rendering for 'render element' theme hooks. |
| ThemeTest::testFindThemeTemplates |
function |
core/modules/system/tests/src/Kernel/Theme/ThemeTest.php |
Tests drupal_find_theme_templates(). |
| ThemeTest::testFrontPageThemeSuggestion |
function |
core/modules/system/tests/src/Functional/Theme/ThemeTest.php |
Ensure page-front template suggestion is added when on front page. |
| ThemeTest::testInstallAndSetAsDefault |
function |
core/modules/system/tests/src/Functional/System/ThemeTest.php |
Tests installing a theme and setting it as default. |
| ThemeTest::testInvalidTheme |
function |
core/modules/system/tests/src/Functional/System/ThemeTest.php |
Tests themes can't be installed when the base theme or engine is missing. |
| ThemeTest::testListThemes |
function |
core/modules/system/tests/src/Kernel/Theme/ThemeTest.php |
Tests the listInfo() function. |
| ThemeTest::testNegotiatorPriorities |
function |
core/modules/system/tests/src/Functional/Theme/ThemeTest.php |
Tests the priority of some theme negotiators. |
| ThemeTest::testPreprocessCallback |
function |
core/modules/system/tests/src/Functional/Theme/ThemeTest.php |
Ensures that preprocess callbacks can be defined. |
| ThemeTest::testPreprocessForSuggestions |
function |
core/modules/system/tests/src/Functional/Theme/ThemeTest.php |
Ensures preprocess functions run even for suggestion implementations. |
| ThemeTest::testPreprocessHtml |
function |
core/modules/system/tests/src/Functional/Theme/ThemeTest.php |
Tests that the page variable is not prematurely flattened. |
| ThemeTest::testRegionClass |
function |
core/modules/system/tests/src/Functional/Theme/ThemeTest.php |
Tests that region attributes can be manipulated via preprocess functions. |
| ThemeTest::testSuggestionPreprocessForDefaults |
function |
core/modules/system/tests/src/Functional/Theme/ThemeTest.php |
Ensures suggestion preprocess functions run for default implementations. |
| ThemeTest::testSwitchDefaultTheme |
function |
core/modules/system/tests/src/Functional/System/ThemeTest.php |
Tests switching the default theme. |
| ThemeTest::testTaxonomyTermThemes |
function |
core/modules/taxonomy/tests/src/Functional/ThemeTest.php |
Tests the theme used when adding, viewing and editing taxonomy terms. |
| ThemeTest::testTemplateOverride |
function |
core/modules/system/tests/src/Functional/Theme/ThemeTest.php |
Ensures a themes template is overridable based on the 'template' filename. |
| ThemeTest::testThemeDataTypes |
function |
core/modules/system/tests/src/Kernel/Theme/ThemeTest.php |
Tests that ThemeManager renders the expected data types. |
| ThemeTest::testThemeOnNonHtmlRequest |
function |
core/modules/system/tests/src/Functional/Theme/ThemeTest.php |
Ensures that non-HTML requests never initialize themes. |
| ThemeTest::testThemeSettings |
function |
core/modules/system/tests/src/Functional/System/ThemeTest.php |
Tests the theme settings form. |
| ThemeTest::testThemeSettingsColorHexCode |
function |
core/modules/system/tests/src/Functional/System/ThemeTest.php |
Tests the theme settings color input. |
| ThemeTest::testThemeSettingsLogo |
function |
core/modules/system/tests/src/Functional/System/ThemeTest.php |
Tests the theme settings logo form. |
| ThemeTest::testThemeSettingsNoLogoNoFavicon |
function |
core/modules/system/tests/src/Functional/System/ThemeTest.php |
Tests the theme settings form when logo and favicon features are disabled. |
| ThemeTest::testThemeSettingsRenderCacheClear |
function |
core/modules/system/tests/src/Functional/System/ThemeTest.php |
Tests the 'rendered' cache tag is cleared when saving theme settings. |
| ThemeTest::testThemeSuggestions |
function |
core/modules/system/tests/src/Kernel/Theme/ThemeTest.php |
Tests function theme_get_suggestions() for SA-CORE-2009-003. |
| ThemeTest::testThemeUpdateManagement |
function |
core/modules/system/tests/src/Kernel/Theme/ThemeTest.php |
Tests the update registry is correct during theme install and uninstall. |
| ThemeTest::testThemeUpdateManagementRemovedPostUpdates |
function |
core/modules/system/tests/src/Kernel/Theme/ThemeTest.php |
Tests the update registry is correct during theme install and uninstall. |
| ThemeTest::testUninstallingThemes |
function |
core/modules/system/tests/src/Functional/System/ThemeTest.php |
Tests uninstalling of themes works. |
| ThemeTestController |
class |
core/modules/system/tests/modules/theme_test/src/ThemeTestController.php |
Controller routines for theme test routes. |
| ThemeTestController.php |
file |
core/modules/system/tests/modules/theme_test/src/ThemeTestController.php |
|
| ThemeTestController::generalSuggestionAlter |
function |
core/modules/system/tests/modules/theme_test/src/ThemeTestController.php |
Menu callback for testing hook_theme_suggestions_alter(). |
| ThemeTestController::nonHtml |
function |
core/modules/system/tests/modules/theme_test/src/ThemeTestController.php |
Controller to ensure that no theme is initialized. |
| ThemeTestController::preprocessCallback |
function |
core/modules/system/tests/modules/theme_test/src/ThemeTestController.php |
Controller for testing callable preprocess functions. |
| ThemeTestController::preprocessSuggestions |
function |
core/modules/system/tests/modules/theme_test/src/ThemeTestController.php |
Controller for testing preprocess functions with theme suggestions. |
| ThemeTestController::specificSuggestionAlter |
function |
core/modules/system/tests/modules/theme_test/src/ThemeTestController.php |
Menu callback for testing suggestion alter hooks with specific suggestions. |
| ThemeTestController::suggestionAlter |
function |
core/modules/system/tests/modules/theme_test/src/ThemeTestController.php |
Menu callback for testing suggestion alter hooks with template files. |
| ThemeTestController::suggestionProvided |
function |
core/modules/system/tests/modules/theme_test/src/ThemeTestController.php |
Menu callback for testing suggestion alter hooks with template files. |
| ThemeTestController::testInfoStylesheets |
function |
core/modules/system/tests/modules/theme_test/src/ThemeTestController.php |
Adds stylesheets to test theme .info.yml property processing. |
| ThemeTestController::testInlineTemplate |
function |
core/modules/system/tests/modules/theme_test/src/ThemeTestController.php |
Tests the inline template functionality. |
| ThemeTestController::testRequestListener |
function |
core/modules/system/tests/modules/theme_test/src/ThemeTestController.php |
Tests themed output generated in a request listener. |
| ThemeTestController::testSuggestion |
function |
core/modules/system/tests/modules/theme_test/src/ThemeTestController.php |
Calls a theme hook suggestion. |
| ThemeTestController::testTemplate |
function |
core/modules/system/tests/modules/theme_test/src/ThemeTestController.php |
Tests template overriding based on filename. |
| ThemeTestHooks |
class |
core/modules/system/tests/modules/theme_test/src/Hook/ThemeTestHooks.php |
Hook implementations for theme_test. |
| ThemeTestHooks.php |
file |
core/modules/system/tests/modules/theme_test/src/Hook/ThemeTestHooks.php |
|
| ThemeTestHooks::libraryInfoAlter |
function |
core/modules/system/tests/modules/theme_test/src/Hook/ThemeTestHooks.php |
Implements hook_library_info_alter(). |
| ThemeTestHooks::pageBottom |
function |
core/modules/system/tests/modules/theme_test/src/Hook/ThemeTestHooks.php |
Implements hook_page_bottom(). |
| ThemeTestHooks::preprocessHtml |
function |
core/modules/system/tests/modules/theme_test/src/Hook/ThemeTestHooks.php |
Implements hook_preprocess_HOOK() for HTML document templates. |
| ThemeTestHooks::preprocessTestSuggestions |
function |
core/modules/system/tests/modules/theme_test/src/Hook/ThemeTestHooks.php |
Implements hook_preprocess_HOOK(). |
| ThemeTestHooks::preprocessThemeTest |
function |
core/modules/system/tests/modules/theme_test/src/Hook/ThemeTestHooks.php |
Preprocesses variables for theme_theme_test(). |
| ThemeTestHooks::preprocessThemeTestDeprecationsPreprocess |
function |
core/modules/system/tests/modules/theme_test/src/Hook/ThemeTestHooks.php |
Prepares variables for theme_test_deprecations_preprocess. |
| ThemeTestHooks::preprocessThemeTestPreprocessSuggestions |
function |
core/modules/system/tests/modules/theme_test/src/Hook/ThemeTestHooks.php |
Implements hook_preprocess_HOOK(). |