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 11.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
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: &#039;Taking tours of administrative pages&#039;
related:
- core.ui_components
---
&lt;h2&gt;{% trans %}Goal{% endtrans %}&lt;/h2&gt;
&lt;p&gt;{% trans %}Take a tour of an administrative page.{% endtrans %}&lt;/p&gt;
&lt;h2&gt;{% trans…
tracker.tracking_changed_content.html.twig file core/modules/tracker/help_topics/tracker.tracking_changed_content.html.twig ---
label: &#039;Viewing lists of recently-updated content&#039;
related:
- core.tracking_content
- history.tracking_user_content
---
{% set recent_link_text %}
{% trans %}Recent content{% endtrans %}
{% endset %}
{% set recent_link =…
twig-autoescape-test.html.twig file core/modules/system/tests/modules/twig_theme_test/templates/twig-autoescape-test.html.twig {# Template for testing autoescape. #}
{{ script }}
twig-raw-test.html.twig file core/modules/system/tests/modules/twig_theme_test/templates/twig-raw-test.html.twig {# Template for testing |raw with autoescape. #}
{% autoescape %}
{{ script|raw }}
{% endautoescape %}
twig-registry-loader-test-extend.html.twig file core/modules/system/tests/themes/test_theme_twig_registry_loader_theme/templates/twig-registry-loader-test-extend.html.twig This line is from test_theme_twig_registry_loader_theme/templates/twig-registry-loader-test-extend.html.twig

{% block content %}
This text is in a block.
{% endblock %}
twig-registry-loader-test-extend.html.twig file core/modules/system/tests/themes/test_theme_twig_registry_loader/templates/twig-registry-loader-test-extend.html.twig This line is from test_theme_twig_registry_loader/templates/twig-registry-loader-test-extend.html.twig

{% block content %}
This text is in a block.
{% endblock %}
twig-registry-loader-test-extend.html.twig file core/modules/system/tests/modules/twig_theme_test/templates/twig-registry-loader-test-extend.html.twig This line is from twig_theme_test/templates/twig-registry-loader-test-extend.html.twig

{% block content %}
This text is in a block.
{% endblock %}
twig-registry-loader-test-include.html.twig file core/modules/system/tests/themes/test_theme_twig_registry_loader_theme/templates/twig-registry-loader-test-include.html.twig This line is from test_theme_twig_registry_loader_theme/templates/twig-registry-loader-test-include.html.twig
twig-registry-loader-test-include.html.twig file core/modules/system/tests/themes/test_theme_twig_registry_loader/templates/twig-registry-loader-test-include.html.twig This line is from test_theme_twig_registry_loader/templates/twig-registry-loader-test-include.html.twig
twig-registry-loader-test-include.html.twig file core/modules/system/tests/modules/twig_theme_test/templates/twig-registry-loader-test-include.html.twig This line is from twig_theme_test/templates/twig-registry-loader-test-include.html.twig
twig-registry-loader-test.html.twig file core/modules/system/tests/modules/twig_theme_test/templates/twig-registry-loader-test.html.twig {% extends &quot;twig-registry-loader-test-extend.html.twig&quot; %}

{% block content %}
{% include &quot;twig-registry-loader-test-include.html.twig&quot; %}
{% endblock %}
twig-theme-test-embed-tag-embedded.html.twig file core/modules/system/tests/modules/twig_theme_test/templates/twig-theme-test-embed-tag-embedded.html.twig This line is from twig_theme_test/templates/twig-theme-test-embed-tag-embedded.html.twig
twig_extension_test.filter.html.twig file core/modules/system/tests/modules/twig_extension_test/templates/twig_extension_test.filter.html.twig &lt;div class=&quot;test-filter&quot;&gt;
{{ message|test_filter}}
&lt;/div&gt;
&lt;div&gt;
{{ safe_join_items|safe_join(&#039;&lt;br/&gt;&#039;) }}
&lt;/div&gt;

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