Search for all

  1. Search 7.x for all
  2. Search 8.9.x for all
  3. Search 10.3.x for all
  4. Search 11.x for all
  5. Search main for all
  6. Other projects
Title Object type File name Summary
twig_extension_test.twig.test_extension service core/modules/system/tests/modules/twig_extension_test/twig_extension_test.services.yml Drupal\twig_extension_test\TwigExtension\TestExtension
twig_extension_test_theme function core/modules/system/tests/modules/twig_extension_test/twig_extension_test.module Implements hook_theme().
twig_loader_test.info.yml file core/modules/system/tests/modules/twig_loader_test/twig_loader_test.info.yml core/modules/system/tests/modules/twig_loader_test/twig_loader_test.info.yml
twig_loader_test.services.yml file core/modules/system/tests/modules/twig_loader_test/twig_loader_test.services.yml core/modules/system/tests/modules/twig_loader_test/twig_loader_test.services.yml
twig_loader_test.twig.test_loader service core/modules/system/tests/modules/twig_loader_test/twig_loader_test.services.yml Drupal\twig_loader_test\Loader\TestLoader
twig_namespace_a.info.yml file core/modules/system/tests/modules/twig_theme_test/modules/twig_namespace_a/twig_namespace_a.info.yml core/modules/system/tests/modules/twig_theme_test/modules/twig_namespace_a/twig_namespace_a.info.yml
twig_namespace_b.info.yml file core/modules/system/tests/modules/twig_theme_test/modules/twig_namespace_b/twig_namespace_b.info.yml core/modules/system/tests/modules/twig_theme_test/modules/twig_namespace_b/twig_namespace_b.info.yml
twig_namespace_test.html.twig file core/modules/system/tests/modules/twig_theme_test/templates/twig_namespace_test.html.twig {% extends "@twig_namespace_a/test.html.twig" %}

{% block content %}
{% include "@twig_namespace_b/test.html.twig" %}
{% endblock %}
twig_render_template function core/themes/engines/twig/twig.engine Implements hook_render_template().
twig_theme function core/themes/engines/twig/twig.engine Implements hook_theme().
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('core/ckeditor5') }}
twig_theme_test.dump.html.twig file core/modules/system/tests/modules/twig_theme_test/templates/twig_theme_test.dump.html.twig {% set foo = '💩' %}
{% set bar = '🐣' %}
{% set baz = '☄️' %}
{{ 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 "@twig_theme_test/twig-theme-test-embed-tag-embedded.html.twig" %}

{% 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 <div>file_url: {{ file_url('core/modules/system/tests/modules/twig_theme_test/twig_theme_test.js') }}</div>
<div>file_url: {{ file_url(undefined_variable) }}</div>
twig_theme_test.filter.html.twig file core/modules/system/tests/modules/twig_theme_test/templates/twig_theme_test.filter.html.twig <div><strong>No author:</strong> {{ quote|without('author') }}.</div>
<div><strong>Complete quote after without:</strong> {{ quote }}.</div>
<div><strong>Only author:</strong>…
twig_theme_test.info.yml file core/modules/system/tests/modules/twig_theme_test/twig_theme_test.info.yml core/modules/system/tests/modules/twig_theme_test/twig_theme_test.info.yml
twig_theme_test.link_generator.html.twig file core/modules/system/tests/modules/twig_theme_test/templates/twig_theme_test.link_generator.html.twig <div>link via the linkgenerator: {{ link('register', test_url) }}</div>
<div>link via the linkgenerator: {{ link('register', test_url, {'foo': 'bar'}) }}</div>
<div>link via the…
twig_theme_test.module file core/modules/system/tests/modules/twig_theme_test/twig_theme_test.module Test module.
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. #}
<ul>
{% for key, php_value in php_values %}
<li>{{ key }}: {{ php_value.value }}</li>
{% endfor %}
</ul>
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 <div>{{ renderable }}</div>
twig_theme_test.routing.yml file core/modules/system/tests/modules/twig_theme_test/twig_theme_test.routing.yml core/modules/system/tests/modules/twig_theme_test/twig_theme_test.routing.yml
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. #}
<div>
{% trans 'Hello sun.' %}
</div>

{# Test trans tag with string argument and context #}
<div>
{% trans 'Hello sun.' with {'context':…
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 #}
<div>path (as route) not absolute: {{ path('user.register') }}</div>
<div>url (as route) absolute: {{ url('user.register') }}</div>

<div>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 <div>rendered url: {{ test_url }}</div>
twig_theme_test_preprocess_status_messages function core/modules/system/tests/modules/twig_theme_test/twig_theme_test.module Implements template_preprocess_status_messages().
twig_theme_test_theme function core/modules/system/tests/modules/twig_theme_test/twig_theme_test.module Implements hook_theme().
twocol.css file core/modules/layout_discovery/layouts/twocol/twocol.css /*
* @file
* Provides the layout styles for layout_twocol.
*/

.layout--twocol {
display: flex;
flex-wrap: wrap;
}

.layout--twocol > .layout__region {
flex: 0 1 100%;
}

@media screen and (min-width: 40em) {
.layout--twocol >…
twocol.css file core/themes/stable9/layouts/layout_discovery/twocol/twocol.css /*
* @file
* Provides the layout styles for layout_twocol.
*/

.layout--twocol {
display: flex;
flex-wrap: wrap;
}

.layout--twocol > .layout__region {
flex: 0 1 100%;
}

@media screen and (min-width: 40em) {
.layout--twocol >…
TwoColumnLayout class core/modules/layout_builder/src/Plugin/Layout/TwoColumnLayout.php Configurable two column layout plugin class.
TwoColumnLayout.php file core/modules/layout_builder/src/Plugin/Layout/TwoColumnLayout.php
TwoColumnLayout::getDefaultWidth function core/modules/layout_builder/src/Plugin/Layout/TwoColumnLayout.php Provides a default value for the width options.
TwoColumnLayout::getWidthOptions function core/modules/layout_builder/src/Plugin/Layout/TwoColumnLayout.php Gets the width options for the configuration form.
twocol_bricks.css file core/themes/stable9/layouts/layout_discovery/twocol_bricks/twocol_bricks.css /*
* @file
* Provides the layout styles for layout_twocol_bricks.
*/

.layout--twocol-bricks {
display: flex;
flex-wrap: wrap;
}

.layout--twocol-bricks > .layout__region {
flex: 0 1 100%;
}

@media screen and (min-width: 40em) {
…
twocol_bricks.css file core/modules/layout_discovery/layouts/twocol_bricks/twocol_bricks.css /*
* @file
* Provides the layout styles for layout_twocol_bricks.
*/

.layout--twocol-bricks {
display: flex;
flex-wrap: wrap;
}

.layout--twocol-bricks > .layout__region {
flex: 0 1 100%;
}

@media screen and (min-width: 40em) {
…
twocol_section.css file core/themes/stable9/layouts/layout_builder/twocol_section/twocol_section.css /*
* @file
* Provides the layout styles for two-column layout section.
*/

.layout--twocol-section {
display: flex;
flex-wrap: wrap;
}

.layout--twocol-section > .layout__region {
flex: 0 1 100%;
}

@media screen and (min-width: 40em) {
…
twocol_section.css file core/profiles/demo_umami/themes/umami/layouts/twocol_section/twocol_section.css /*
* @file
* Provides the layout styles for two-column layout section.
*/

.layout--twocol-section {
display: flex;
flex-wrap: wrap;
}

.layout--twocol-section > .layout__region {
flex: 0 1 100%;
}
/* Medium */
@media screen and…
twocol_section.css file core/themes/stable/layouts/twocol_section/twocol_section.css /*
* @file
* Provides the layout styles for two-column layout section.
*/

.layout--twocol-section {
display: flex;
flex-wrap: wrap;
}

.layout--twocol-section > .layout__region {
flex: 0 1 100%;
}

@media screen and (min-width: 40em) {
…
twocol_section.css file core/modules/layout_builder/layouts/twocol_section/twocol_section.css /*
* @file
* Provides the layout styles for two-column layout section.
*/

.layout--twocol-section {
display: flex;
flex-wrap: wrap;
}

.layout--twocol-section > .layout__region {
flex: 0 1 100%;
}

@media screen and (min-width: 40em) {
…
Type class core/modules/node/src/Plugin/views/argument/Type.php Argument handler to accept a node type.
Type.php file core/modules/node/src/Plugin/views/argument/Type.php
Type::$nodeTypeStorage property core/modules/node/src/Plugin/views/argument/Type.php NodeType storage handler.
Type::create function core/modules/node/src/Plugin/views/argument/Type.php Creates an instance of the plugin.
Type::node_type function core/modules/node/src/Plugin/views/argument/Type.php
Type::summaryName function core/modules/node/src/Plugin/views/argument/Type.php Provides the name to use for the summary, defaults to the name field.
Type::title function core/modules/node/src/Plugin/views/argument/Type.php Get the title this argument will assign the view, given the argument.
Type::__construct function core/modules/node/src/Plugin/views/argument/Type.php Constructs a new Node Type object.
Typed Data API group core/core.api.php API for describing data based on a set of available data types.
TypedConfigInterface interface core/lib/Drupal/Core/Config/Schema/TypedConfigInterface.php Interface for a typed configuration object that contains multiple elements.
TypedConfigInterface.php file core/lib/Drupal/Core/Config/Schema/TypedConfigInterface.php

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