Search for html

  1. Search 7.x for html
  2. Search 9.5.x for html
  3. Search 8.9.x for html
  4. Search 10.3.x for html
  5. Other projects

Exact matches

These are exact matches according to your search
Title Object type File name Summary
Html class core/lib/Drupal/Core/Render/Element/Html.php Provides a render element for an entire HTML page: <html> plus its children.
Html class core/lib/Drupal/Component/Utility/Html.php Provides DOMDocument helpers for parsing and serializing HTML strings.

All search results

Title Object type File name Summary
the-umami-guide-to-our-favourite-mushrooms.html file core/profiles/demo_umami/modules/demo_umami_content/default_content/languages/en/article_body/the-umami-guide-to-our-favourite-mushrooms.html
theme-test--suggestion.html.twig file core/modules/system/tests/themes/test_theme/templates/theme-test--suggestion.html.twig {# Output for Theme API test #}
Theme hook implementor=theme-test--suggestion.html.twig. Foo={{ foo }}
theme-test-deprecations-child.html.twig file core/modules/system/tests/modules/theme_test/templates/theme-test-deprecations-child.html.twig {# Test use of deprecated variables in a child template. #}
{{- foo }}|
{{- gaz }}
theme-test-deprecations-hook-theme.html.twig file core/modules/system/tests/modules/theme_test/templates/theme-test-deprecations-hook-theme.html.twig {# Test variables deprecated in hook_theme(). #}
{{ foo }}
theme-test-deprecations-preprocess.html.twig file core/modules/system/tests/modules/theme_test/templates/theme-test-deprecations-preprocess.html.twig {# Test use of variables deprecated in a preprocess hook. #}
{% set set_var = &#039;set_var&#039; %}
{{- foo }}|
{{- set_var }}|
{%- for for_var in contents %}
{{- for_var }}|
{%- endfor %}
{{- bar }}
theme-test-foo.html.twig file core/modules/system/tests/modules/theme_test/templates/theme-test-foo.html.twig {# Output for Theme API test #}
{{ foo -}}
theme-test-function-template-override.html.twig file core/modules/system/tests/themes/test_theme/theme-test-function-template-override.html.twig {# Output for Theme API test #}
Success: Template overrides theme function.
theme-test-general-suggestions--module-override.html.twig file core/modules/system/tests/themes/test_theme/templates/theme-test-general-suggestions--module-override.html.twig {# Output for Theme API test #}
Template overridden based on new theme suggestion provided by a module via hook_theme_suggestions_alter().
Hooks: {{ module_hook }} {{ theme_hook }}
theme-test-general-suggestions--theme-override.html.twig file core/modules/system/tests/themes/test_theme/templates/theme-test-general-suggestions--theme-override.html.twig {# Output for Theme API test #}
Template overridden based on new theme suggestion provided by the test_theme theme via hook_theme_suggestions_alter().
Hooks: {{ module_hook }} {{ theme_hook }}
theme-test-general-suggestions.html.twig file core/modules/system/tests/modules/theme_test/templates/theme-test-general-suggestions.html.twig {# Output for Theme API test #}
Original template for testing hook_theme_suggestions_alter().
Hooks: {{ module_hook }} {{ theme_hook }}
theme-test-preprocess-callback.html.twig file core/modules/system/tests/modules/theme_test/templates/theme-test-preprocess-callback.html.twig {{ foo }}
theme-test-preprocess-suggestions--kitten--bearcat.html.twig file core/modules/system/tests/themes/test_theme/templates/theme-test-preprocess-suggestions--kitten--bearcat.html.twig &lt;div class=&quot;suggestion&quot;&gt;{{ foo }}&lt;/div&gt;
{% if bar %}
&lt;div class=&quot;suggestion&quot;&gt;{{ bar }}&lt;/div&gt;
{% endif %}
theme-test-preprocess-suggestions--suggestion.html.twig file core/modules/system/tests/themes/test_theme/templates/theme-test-preprocess-suggestions--suggestion.html.twig &lt;div class=&quot;suggestion&quot;&gt;{{ foo }}&lt;/div&gt;
theme-test-preprocess-suggestions.html.twig file core/modules/system/tests/modules/theme_test/templates/theme-test-preprocess-suggestions.html.twig &lt;div class=&quot;suggestion&quot;&gt;{{ foo }}&lt;/div&gt;
{% if bar %}
&lt;div class=&quot;suggestion&quot;&gt;{{ bar }}&lt;/div&gt;
{% endif %}
theme-test-registered-by-module.html.twig file core/modules/system/tests/themes/test_theme/templates/theme-test-registered-by-module.html.twig {# Output for Theme API test #}
Template provided by theme is registered by module.
theme-test-render-element-children.html.twig file core/modules/system/tests/modules/theme_test/templates/theme-test-render-element-children.html.twig {# Output for Theme API test #}
{{ element -}}
theme-test-render-element.html.twig file core/modules/system/tests/modules/theme_test/templates/theme-test-render-element.html.twig &lt;div{{ attributes }}&gt;&lt;/div&gt;
theme-test-specific-suggestions--variant--foo.html.twig file core/modules/system/tests/themes/test_theme/templates/theme-test-specific-suggestions--variant--foo.html.twig {# Output for Theme API test #}
Template overridden based on suggestion alter hook determined by the base hook.

&lt;p&gt;Theme hook suggestions:
{{ theme_hook_suggestions|safe_join(&quot;&lt;br /&gt;&quot;) }}&lt;/p&gt;
theme-test-specific-suggestions--variant.html.twig file core/modules/system/tests/themes/test_theme/templates/theme-test-specific-suggestions--variant.html.twig {# Output for Theme API test #}
Template matching the specific theme call.

&lt;p&gt;Theme hook suggestions:
{{ theme_hook_suggestions|safe_join(&quot;&lt;br /&gt;&quot;) }}&lt;/p&gt;
theme-test-specific-suggestions.html.twig file core/modules/system/tests/modules/theme_test/templates/theme-test-specific-suggestions.html.twig {# Output for Theme API test #}
Template for testing specific theme calls.
theme-test-suggestion-provided--foo.html.twig file core/modules/system/tests/themes/test_theme/templates/theme-test-suggestion-provided--foo.html.twig {# Output for Theme API test #}
Template overridden based on suggestion provided by the module declaring the theme hook.
theme-test-suggestion-provided.html.twig file core/modules/system/tests/modules/theme_test/templates/theme-test-suggestion-provided.html.twig {# Output for Theme API test #}
Template for testing suggestions provided by the module declaring the theme hook.
theme-test-suggestions--module-override.html.twig file core/modules/system/tests/themes/test_theme/templates/theme-test-suggestions--module-override.html.twig {# Output for Theme API test #}
Template overridden based on new theme suggestion provided by a module via hook_theme_suggestions_HOOK_alter().
theme-test-suggestions--theme-override.html.twig file core/modules/system/tests/themes/test_theme/templates/theme-test-suggestions--theme-override.html.twig {# Output for Theme API test #}
Template overridden based on new theme suggestion provided by the test_theme theme via hook_theme_suggestions_HOOK_alter().
theme-test-suggestions.html.twig file core/modules/system/tests/modules/theme_test/templates/theme-test-suggestions.html.twig {# Output for Theme API test #}
Original template for testing hook_theme_suggestions_HOOK_alter().
theme-test-theme-class.html.twig file core/modules/system/tests/modules/theme_test/templates/theme-test-theme-class.html.twig &lt;p&gt;{{ message }}&lt;/p&gt;
ThemeTest::testPreprocessHtml function core/modules/system/tests/src/Functional/Theme/ThemeTest.php Tests that the page variable is not prematurely flattened.
ThemeTest::testThemeOnNonHtmlRequest function core/modules/system/tests/src/Functional/Theme/ThemeTest.php Ensures that non-HTML requests never initialize themes.
ThemeTestController::nonHtml function core/modules/system/tests/modules/theme_test/src/ThemeTestController.php Controller to ensure that no theme is initialized.
theme_test.template_test.html.twig file core/modules/system/tests/themes/test_theme/theme_test.template_test.html.twig {# Output for Theme API test #}
Success: Template overridden.
theme_test.template_test.html.twig file core/modules/system/tests/modules/theme_test/templates/theme_test.template_test.html.twig &lt;!-- Output for Theme API test --&gt;
Fail: Template not overridden.
theme_test.template_test.nyan-cat.html file core/modules/system/tests/themes/test_theme_nyan_cat_engine/theme_test.template_test.nyan-cat.html
theme_test_preprocess_html function core/modules/system/tests/modules/theme_test/theme_test.module Implements hook_preprocess_HOOK() for HTML document templates.
time.html.twig file core/modules/system/templates/time.html.twig Default theme implementation for a date / time element.
time.html.twig file core/profiles/demo_umami/themes/umami/templates/classy/field/time.html.twig Theme override for a date / time element.
time.html.twig file core/themes/stable9/templates/field/time.html.twig Theme override for a date / time element.
time.html.twig file core/themes/claro/templates/classy/field/time.html.twig Theme override for a date / time element.
time.html.twig file core/themes/starterkit_theme/templates/field/time.html.twig Theme override for a date / time element.
toolbar-button.html.twig file core/modules/navigation/templates/toolbar-button.html.twig {# Extra classes variable added to be sure that modifiers will
appear after main classes #}
{%
set classes = [
&#039;toolbar-button&#039;,
icon ? &#039;toolbar-button--icon--&#039; ~ icon : &#039;&#039;,
extra_classes,
toolbar.html.twig file core/profiles/demo_umami/themes/umami/templates/classy/navigation/toolbar.html.twig Theme override for the administrative toolbar.
toolbar.html.twig file core/themes/stable9/templates/navigation/toolbar.html.twig Theme override for the administrative toolbar.
toolbar.html.twig file core/modules/toolbar/templates/toolbar.html.twig Default theme implementation for the administrative toolbar.
toolbar.html.twig file core/themes/claro/templates/navigation/toolbar.html.twig Theme override for the administrative toolbar.
toolbar.html.twig file core/themes/claro/templates/classy/navigation/toolbar.html.twig Theme override for the administrative toolbar.
toolbar_preprocess_html function core/modules/toolbar/toolbar.module Implements hook_preprocess_HOOK() for HTML document templates.
top-bar-local-task.html.twig file core/modules/navigation/templates/top-bar-local-task.html.twig Default theme implementation for a single navigation top bar local task.
top-bar-local-tasks.html.twig file core/modules/navigation/templates/top-bar-local-tasks.html.twig Default theme implementation for navigation top bar local tasks.
top-bar.html.twig file core/modules/navigation/templates/top-bar.html.twig Default theme implementation for the navigation top bar.
tour.overview.html.twig file core/modules/tour/help_topics/tour.overview.html.twig ---
label: 'Taking tours of administrative pages'
related:
- core.ui_components
---
{% trans %}Goal{% endtrans %}
{% trans %}Take a tour of an administrative page.{% endtrans %}
tracker.tracking_changed_content.html.twig file core/modules/tracker/help_topics/tracker.tracking_changed_content.html.twig ---
label: 'Viewing lists of recently-updated content'
related:
- core.tracking_content
- history.tracking_user_content
---
{% set recent_link_text %}
{% trans %}Recent content{% endtrans %}
{% endset %}
{% set recent_link =…

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.