Search for all

  1. Search 7.x for all
  2. Search 9.5.x for all
  3. Search 8.9.x for all
  4. Search 10.3.x for all
  5. Search 11.x for all
  6. Other projects
Title Object type File name Summary
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/js/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 link generator: {{ link('register', test_url) }}</div>
<div>link via the link generator: {{ link('register', test_url, {'foo': 'bar'}) }}</div>
<div>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. #}
<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>
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 >…
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 >…
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
TwoColumnLayout::getWidthOptions function core/modules/layout_builder/src/Plugin/Layout/TwoColumnLayout.php
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/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
Type::node_type function core/modules/node/src/Plugin/views/argument/Type.php Returns the label for the given node type.
Type::summaryName function core/modules/node/src/Plugin/views/argument/Type.php
Type::title function core/modules/node/src/Plugin/views/argument/Type.php
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
TypedConfigInterface::get function core/lib/Drupal/Core/Config/Schema/TypedConfigInterface.php Gets a contained typed configuration element.
TypedConfigInterface::getElements function core/lib/Drupal/Core/Config/Schema/TypedConfigInterface.php Gets an array of contained elements.
TypedConfigInterface::isEmpty function core/lib/Drupal/Core/Config/Schema/TypedConfigInterface.php Determines whether the data structure is empty.
TypedConfigInterface::toArray function core/lib/Drupal/Core/Config/Schema/TypedConfigInterface.php Returns an array of all property values.
TypedConfigManager class core/lib/Drupal/Core/Config/TypedConfigManager.php Manages config schema type plugins.
TypedConfigManager.php file core/lib/Drupal/Core/Config/TypedConfigManager.php
TypedConfigManager::$configStorage property core/lib/Drupal/Core/Config/TypedConfigManager.php A storage instance for reading configuration data.
TypedConfigManager::$definitions property core/lib/Drupal/Core/Config/TypedConfigManager.php The array of plugin definitions, keyed by plugin id.
TypedConfigManager::$schemaStorage property core/lib/Drupal/Core/Config/TypedConfigManager.php A storage instance for reading configuration schema data.
TypedConfigManager::alterDefinitions function core/lib/Drupal/Core/Config/TypedConfigManager.php

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