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
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;
twig_extension_test.function.html.twig file core/modules/system/tests/modules/twig_extension_test/templates/twig_extension_test.function.html.twig &lt;div class=&quot;test-function&quot;&gt;
{{ custom_function(1) }}
&lt;/div&gt;

&lt;div class=&quot;test-function&quot;&gt;
{{ custom_function(0) }}
&lt;/div&gt;
twig_namespace_test.html.twig file core/modules/system/tests/modules/twig_theme_test/templates/twig_namespace_test.html.twig {% extends &quot;@twig_namespace_a/test.html.twig&quot; %}

{% block content %}
{% include &quot;@twig_namespace_b/test.html.twig&quot; %}
{% endblock %}
twig_theme_test.attach_library.html.twig file core/modules/system/tests/modules/twig_theme_test/templates/twig_theme_test.attach_library.html.twig {{ attach_library(&#039;core/ckeditor5&#039;) }}
twig_theme_test.dump.html.twig file core/modules/system/tests/modules/twig_theme_test/templates/twig_theme_test.dump.html.twig {% set foo = &#039;💩&#039; %}
{% set bar = &#039;🐣&#039; %}
{% set baz = &#039;☄️&#039; %}
{{ dump(foo) }}
{{ dump() }}
{{ dump(foo, baz) }}
twig_theme_test.embed_tag.html.twig file core/modules/system/tests/modules/twig_theme_test/templates/twig_theme_test.embed_tag.html.twig {% embed &quot;@twig_theme_test/twig-theme-test-embed-tag-embedded.html.twig&quot; %}

{% endembed %}
twig_theme_test.file_url.html.twig file core/modules/system/tests/modules/twig_theme_test/templates/twig_theme_test.file_url.html.twig &lt;div&gt;file_url: {{ file_url(&#039;core/modules/system/tests/modules/twig_theme_test/js/twig_theme_test.js&#039;) }}&lt;/div&gt;
&lt;div&gt;file_url: {{ file_url(undefined_variable) }}&lt;/div&gt;
twig_theme_test.filter.html.twig file core/modules/system/tests/modules/twig_theme_test/templates/twig_theme_test.filter.html.twig &lt;div&gt;&lt;strong&gt;No author:&lt;/strong&gt; {{ quote|without(&#039;author&#039;) }}.&lt;/div&gt;
&lt;div&gt;&lt;strong&gt;Complete quote after without:&lt;/strong&gt; {{ quote }}.&lt;/div&gt;
&lt;div&gt;&lt;strong&gt;Only author:&lt;/strong&gt;…
twig_theme_test.link_generator.html.twig file core/modules/system/tests/modules/twig_theme_test/templates/twig_theme_test.link_generator.html.twig &lt;div&gt;link via the link generator: {{ link(&#039;register&#039;, test_url) }}&lt;/div&gt;
&lt;div&gt;link via the link generator: {{ link(&#039;register&#039;, test_url, {&#039;foo&#039;: &#039;bar&#039;}) }}&lt;/div&gt;
&lt;div&gt;link via the…
twig_theme_test.php_variables.html.twig file core/modules/system/tests/modules/twig_theme_test/templates/twig_theme_test.php_variables.html.twig {# Output for Twig Theme PHP variables test. #}
&lt;ul&gt;
{% for key, php_value in php_values %}
&lt;li&gt;{{ key }}: {{ php_value.value }}&lt;/li&gt;
{% endfor %}
&lt;/ul&gt;
twig_theme_test.placeholder_outside_trans.html.twig file core/modules/system/tests/modules/twig_theme_test/templates/twig_theme_test.placeholder_outside_trans.html.twig Placeholder outside trans: {{ var | placeholder }}

{% trans %}
Placeholder inside trans: {{ var | placeholder }}
{% endtrans %}
twig_theme_test.renderable.html.twig file core/modules/system/tests/modules/twig_theme_test/templates/twig_theme_test.renderable.html.twig &lt;div&gt;{{ renderable }}&lt;/div&gt;
twig_theme_test.trans.html.twig file core/modules/system/tests/modules/twig_theme_test/templates/twig_theme_test.trans.html.twig {# Test trans tag with string argument. #}
&lt;div&gt;
{% trans &#039;Hello sun.&#039; %}
&lt;/div&gt;

{# Test trans tag with string argument and context #}
&lt;div&gt;
{% trans &#039;Hello sun.&#039; with {&#039;context&#039;:…
twig_theme_test.url_generator.html.twig file core/modules/system/tests/modules/twig_theme_test/templates/twig_theme_test.url_generator.html.twig {# Test the url and path twig functions #}
&lt;div&gt;path (as route) not absolute: {{ path(&#039;user.register&#039;) }}&lt;/div&gt;
&lt;div&gt;url (as route) absolute: {{ url(&#039;user.register&#039;) }}&lt;/div&gt;

&lt;div&gt;path (as route) not…
twig_theme_test.url_to_string.html.twig file core/modules/system/tests/modules/twig_theme_test/templates/twig_theme_test.url_to_string.html.twig &lt;div&gt;rendered url: {{ test_url }}&lt;/div&gt;
umami_preprocess_html function core/profiles/demo_umami/themes/umami/umami.theme Implements hook_preprocess_HOOK() for HTML document templates.
update-fetch-error-message.html.twig file core/themes/stable9/templates/admin/update-fetch-error-message.html.twig Default theme implementation for the message when fetching data fails.
update-fetch-error-message.html.twig file core/modules/update/templates/update-fetch-error-message.html.twig Default theme implementation for the message when fetching data fails.
update-last-check.html.twig file core/modules/update/templates/update-last-check.html.twig Default theme implementation for the last time update data was checked.
update-last-check.html.twig file core/themes/stable9/templates/admin/update-last-check.html.twig Theme override for the last time update data was checked.
update-project-status.html.twig file core/themes/stable9/templates/admin/update-project-status.html.twig Theme override for the project status report.
update-project-status.html.twig file core/modules/update/templates/update-project-status.html.twig Default theme implementation for the project status report.
update-report.html.twig file core/themes/stable9/templates/admin/update-report.html.twig Theme override for the project status report.
update-report.html.twig file core/modules/update/templates/update-report.html.twig Default theme implementation for the project status report.
update-version.html.twig file core/themes/stable9/templates/admin/update-version.html.twig Theme override for the version display of a project.
update-version.html.twig file core/themes/claro/templates/admin/update-version.html.twig Theme override for the version display of a project.
update-version.html.twig file core/modules/update/templates/update-version.html.twig Default theme implementation for the version display of a project.
user--compact.html.twig file core/themes/olivero/templates/user/user--compact.html.twig Theme override to present all user data.
user.create.html.twig file core/modules/user/help_topics/user.create.html.twig ---
label: &#039;Creating a user account&#039;
related:
- user.security_account_settings
- user.overview
---
{% set people_link_text %}{% trans %}People{% endtrans %}{% endset %}
{% set people_link = render_var(help_route_link(people_link_text,…
user.html.twig file core/modules/user/tests/themes/user_test_theme/user.html.twig Theme override for testing the presence of all user data.
user.html.twig file core/modules/user/templates/user.html.twig Default theme implementation to present all user data.
user.html.twig file core/profiles/demo_umami/themes/umami/templates/classy/user/user.html.twig Theme override to present all user data.
user.html.twig file core/themes/stable9/templates/user/user.html.twig Theme override to present all user data.
user.html.twig file core/themes/claro/templates/classy/user/user.html.twig Theme override to present all user data.
user.html.twig file core/themes/starterkit_theme/templates/user/user.html.twig Theme override to present all user data.
user.new_role.html.twig file core/modules/user/help_topics/user.new_role.html.twig ---
label: &#039;Adding a new role&#039;
related:
- user.overview
- user.permissions
---
{% set roles_link_text %}{% trans %}Roles{% endtrans %}{% endset %}
{% set roles_link = render_var(help_route_link(roles_link_text,…
user.overview.html.twig file core/modules/user/help_topics/user.overview.html.twig ---
label: &#039;Managing user accounts and site visitors&#039;
top_level: true
---
&lt;h2&gt;{% trans %}What is a user?{% endtrans %}&lt;/h2&gt;
&lt;p&gt;{% trans %}A user is anyone accessing or viewing your site. &lt;em&gt;Anonymous&lt;/em&gt; users…
user.permissions.html.twig file core/modules/user/help_topics/user.permissions.html.twig ---
label: &#039;Modifying the permissions for a role&#039;
related:
- user.overview
- user.new_role
- core.security
---
{% set permissions_link_text %}{% trans %}Permissions{% endtrans %}{% endset %}
{% set permissions_link =…
user.security_account_settings.html.twig file core/modules/user/help_topics/user.security_account_settings.html.twig ---
label: &#039;Configuring how user accounts are created and deleted&#039;
related:
- core.security
- user.overview
---
{% set account_settings_link_text %}{% trans %}Account settings{% endtrans %}{% endset %}
{% set account_settings_link =…
user.update.html.twig file core/modules/user/help_topics/user.update.html.twig ---
label: &#039;Modifying or deleting a user account&#039;
related:
- user.security_account_settings
- user.overview
---
{% set people_link_text %}{% trans %}People{% endtrans %}{% endset %}
{% set people_link =…

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