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
my-banner.twig file core/modules/system/tests/modules/sdc_test/components/my-banner/my-banner.twig {# Prepare presentational attributes #}
{% if image is not empty %}
{% set attributes = attributes.setAttribute('style', 'background-image: linear-gradient(to right, black, black, rgba(0, 0, 0, 70%), transparent), url("' ~…
my-button.component.yml file core/modules/system/tests/modules/sdc_test/components/my-button/my-button.component.yml core/modules/system/tests/modules/sdc_test/components/my-button/my-button.component.yml
my-button.component.yml file core/modules/system/tests/modules/sdc_test_replacements/components/my-button/my-button.component.yml core/modules/system/tests/modules/sdc_test_replacements/components/my-button/my-button.component.yml
my-button.css file core/modules/system/tests/modules/sdc_test_replacements/components/my-button/my-button.css button.component--my-button {
margin: 0;
box-shadow: 1px 1px 2px #000c;
}
button.component--my-button svg {
width: 30px;
height: 30px;
padding-left: 5px;
vertical-align: bottom;
fill: white;
}
button.component--my-button:focus…
my-button.css file core/modules/system/tests/modules/sdc_test/components/my-button/my-button.css button.component--my-button {
margin: 0;
box-shadow: 1px 1px 2px #000c;
}
button.component--my-button svg {
width: 30px;
height: 30px;
padding-left: 5px;
vertical-align: bottom;
fill: white;
}
button.component--my-button:focus…
my-button.twig file core/modules/system/tests/modules/sdc_test/components/my-button/my-button.twig <button {{ attributes.addClass('button') }}>
{{ text }}
{{ iconType|default('power') }}
</button>
my-button.twig file core/modules/system/tests/modules/sdc_test_replacements/components/my-button/my-button.twig <button {{ attributes.addClass('button') }}>
{{ text }}
<span class="sdc-id">{{ attributes['data-component-id'] }}</span>
</button>
my-card-no-schema.component.yml file core/modules/system/tests/modules/sdc_test_invalid/components/my-card-no-schema/my-card-no-schema.component.yml core/modules/system/tests/modules/sdc_test_invalid/components/my-card-no-schema/my-card-no-schema.component.yml
my-card-no-schema.component.yml file core/modules/system/tests/themes/sdc_theme_test_enforce_schema_invalid/components/my-card-no-schema/my-card-no-schema.component.yml core/modules/system/tests/themes/sdc_theme_test_enforce_schema_invalid/components/my-card-no-schema/my-card-no-schema.component.yml
my-card-no-schema.component.yml file core/modules/system/tests/themes/sdc_theme_test_base/components/my-card-no-schema/my-card-no-schema.component.yml core/modules/system/tests/themes/sdc_theme_test_base/components/my-card-no-schema/my-card-no-schema.component.yml
my-card-no-schema.twig file core/modules/system/tests/themes/sdc_theme_test_enforce_schema_invalid/components/my-card-no-schema/my-card-no-schema.twig <div {{ attributes }}>
<h2 class="component--my-card-no-schema__header">{{ header }}</h2>
<div class="component--my-card-no-schema__body">
{% block card_body %}
Default contents for a card
my-card-no-schema.twig file core/modules/system/tests/themes/sdc_theme_test_base/components/my-card-no-schema/my-card-no-schema.twig <div {{ attributes }}>
<h2 class="component--my-card-no-schema__header">{{ header }}</h2>
<div class="component--my-card-no-schema__body">
{% block card_body %}
Default contents for a card
my-card-no-schema.twig file core/modules/system/tests/modules/sdc_test_invalid/components/my-card-no-schema/my-card-no-schema.twig <div {{ attributes }}>
<h2 class="component--my-card-no-schema__header">{{ header }}</h2>
<div class="component--my-card-no-schema__body">
{% block card_body %}
Default contents for a card
my-card-with-underscore_component.yml file core/modules/system/tests/modules/sdc_test_invalid/components/my-card-with-underscore/my-card-with-underscore_component.yml core/modules/system/tests/modules/sdc_test_invalid/components/my-card-with-underscore/my-card-with-underscore_component.yml
my-card.component.yml file core/modules/system/tests/themes/sdc_theme_test_enforce_schema/components/my-card/my-card.component.yml core/modules/system/tests/themes/sdc_theme_test_enforce_schema/components/my-card/my-card.component.yml
my-card.component.yml file core/modules/system/tests/themes/sdc_theme_test/components/my-card/my-card.component.yml core/modules/system/tests/themes/sdc_theme_test/components/my-card/my-card.component.yml
my-card.css file core/modules/system/tests/themes/sdc_theme_test_enforce_schema/components/my-card/my-card.css .component--my-card {
max-width: 500px;
margin: 15px auto;
color: #f1f1f1;
border: 1px solid #141414;
background-color: #252525;
}

.component--my-card__header {
margin: 0;
padding: 12px 24px 5px 24px;
border-bottom: 1px solid…
my-card.css file core/modules/system/tests/themes/sdc_theme_test/components/my-card/my-card.css .component--my-card {
max-width: 500px;
margin: 15px auto;
color: #f1f1f1;
border: 1px solid #141414;
background-color: #252525;
}

.component--my-card__header {
margin: 0;
padding: 12px 24px 5px 24px;
border-bottom: 1px solid…
my-card.twig file core/modules/system/tests/themes/sdc_theme_test_enforce_schema/components/my-card/my-card.twig <div {{ attributes }}>
<h2 class="component--my-card__header">{{ header }}</h2>
<div class="component--my-card--replaced__body">
{% block card_body %}
Default contents for a card
{%…
my-card.twig file core/modules/system/tests/themes/sdc_theme_test/components/my-card/my-card.twig <div {{ attributes }}>
<h2 class="component--my-card__header">{{ header }}</h2>
<div class="component--my-card__body">
{% block card_body %}
Default contents for a card
{% endblock %}
my-cta-with-variant-prop.component.yml file core/modules/system/tests/modules/sdc_test/components/my-cta-with-variant-prop/my-cta-with-variant-prop.component.yml core/modules/system/tests/modules/sdc_test/components/my-cta-with-variant-prop/my-cta-with-variant-prop.component.yml
my-cta-with-variant-prop.twig file core/modules/system/tests/modules/sdc_test/components/my-cta-with-variant-prop/my-cta-with-variant-prop.twig {% if target is not empty %}
{% set attributes = attributes.setAttribute('target', target) %}
{% endif %}
{% if variant is not empty %}
{% set attributes = attributes.addClass('my-cta-' ~ variant) %}
{% endif %}

<a {{…
my-cta.component.yml file core/modules/system/tests/modules/sdc_test/components/my-cta/my-cta.component.yml core/modules/system/tests/modules/sdc_test/components/my-cta/my-cta.component.yml
my-cta.css file core/modules/system/tests/modules/sdc_test/components/my-cta/my-cta.css .component--my-cta {
margin: 0;
padding: 1em 2em;
text-decoration: none;
text-transform: uppercase;
color: white;
background-color: #008068;
}
my-cta.twig file core/modules/system/tests/modules/sdc_test/components/my-cta/my-cta.twig {% if target is not empty %}
{% set attributes = attributes.setAttribute('target', target) %}
{% endif %}
{% if variant is not empty %}
{% set attributes = attributes.addClass('my-cta-' ~ variant) %}
{% endif %}

<a {{…
mysql.info.yml file core/modules/mysql/mysql.info.yml core/modules/mysql/mysql.info.yml
mysql.services.yml file core/modules/mysql/mysql.services.yml core/modules/mysql/mysql.services.yml
MySqlCastedIntFieldJoinTest class core/modules/mysql/tests/src/Kernel/mysql/Plugin/views/MySqlCastedIntFieldJoinTest.php Tests MySQL specific cast handling.
MySqlCastedIntFieldJoinTest.php file core/modules/mysql/tests/src/Kernel/mysql/Plugin/views/MySqlCastedIntFieldJoinTest.php
MySqlCastedIntFieldJoinTest::$castingType property core/modules/mysql/tests/src/Kernel/mysql/Plugin/views/MySqlCastedIntFieldJoinTest.php The db type that should be used for casting fields as integers.
MysqlCastSql class core/modules/mysql/src/Plugin/views/query/MysqlCastSql.php MySQL specific cast handling.
MysqlCastSql.php file core/modules/mysql/src/Plugin/views/query/MysqlCastSql.php
MysqlCastSql::getFieldAsInt function core/modules/mysql/src/Plugin/views/query/MysqlCastSql.php
MysqlDateSql class core/modules/views/src/Plugin/views/query/MysqlDateSql.php MySQL-specific date handling.
MysqlDateSql.php file core/modules/views/src/Plugin/views/query/MysqlDateSql.php
MysqlDateSql::$database property core/modules/views/src/Plugin/views/query/MysqlDateSql.php The database connection.
MysqlDateSql::$replace property core/modules/views/src/Plugin/views/query/MysqlDateSql.php An array of PHP-to-MySQL replacement patterns.
MysqlDateSql::getDateField function core/modules/views/src/Plugin/views/query/MysqlDateSql.php
MysqlDateSql::getDateFormat function core/modules/views/src/Plugin/views/query/MysqlDateSql.php
MysqlDateSql::setFieldTimezoneOffset function core/modules/views/src/Plugin/views/query/MysqlDateSql.php
MysqlDateSql::setTimezoneOffset function core/modules/views/src/Plugin/views/query/MysqlDateSql.php
MysqlDateSql::__construct function core/modules/views/src/Plugin/views/query/MysqlDateSql.php Constructs the MySQL-specific date sql class.
MysqlDateSqlTest class core/modules/views/tests/src/Unit/Plugin/views/query/MysqlDateSqlTest.php Tests the MySQL-specific date query handler.
MysqlDateSqlTest.php file core/modules/views/tests/src/Unit/Plugin/views/query/MysqlDateSqlTest.php
MysqlDateSqlTest::$database property core/modules/views/tests/src/Unit/Plugin/views/query/MysqlDateSqlTest.php The mocked database service.
MysqlDateSqlTest::providerTestGetDateFormat function core/modules/views/tests/src/Unit/Plugin/views/query/MysqlDateSqlTest.php Provider for date formatting test.
MysqlDateSqlTest::setUp function core/modules/views/tests/src/Unit/Plugin/views/query/MysqlDateSqlTest.php
MysqlDateSqlTest::testGetDateField function core/modules/views/tests/src/Unit/Plugin/views/query/MysqlDateSqlTest.php Tests the getDateField method.
MysqlDateSqlTest::testGetDateFormat function core/modules/views/tests/src/Unit/Plugin/views/query/MysqlDateSqlTest.php Tests date formatting replacement.
MysqlDateSqlTest::testSetFieldTimezoneOffset function core/modules/views/tests/src/Unit/Plugin/views/query/MysqlDateSqlTest.php Tests timezone offset formatting.

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