my-card-no-schema.twig

Same filename in this branch
  1. 10 core/modules/sdc/tests/themes/sdc_theme_test_base/components/my-card-no-schema/my-card-no-schema.twig
  2. 10 core/modules/sdc/tests/modules/sdc_test_invalid/components/my-card-no-schema/my-card-no-schema.twig
  3. 10 core/modules/system/tests/themes/sdc_theme_test_enforce_schema_invalid/components/my-card-no-schema/my-card-no-schema.twig
  4. 10 core/modules/system/tests/themes/sdc_theme_test_base/components/my-card-no-schema/my-card-no-schema.twig
  5. 10 core/modules/system/tests/modules/sdc_test_invalid/components/my-card-no-schema/my-card-no-schema.twig
Same filename in other branches
  1. 11.x core/modules/sdc/tests/themes/sdc_theme_test_enforce_schema_invalid/components/my-card-no-schema/my-card-no-schema.twig
  2. 11.x core/modules/sdc/tests/themes/sdc_theme_test_base/components/my-card-no-schema/my-card-no-schema.twig
  3. 11.x core/modules/sdc/tests/modules/sdc_test_invalid/components/my-card-no-schema/my-card-no-schema.twig
  4. 11.x core/modules/system/tests/themes/sdc_theme_test_enforce_schema_invalid/components/my-card-no-schema/my-card-no-schema.twig
  5. 11.x core/modules/system/tests/themes/sdc_theme_test_base/components/my-card-no-schema/my-card-no-schema.twig
  6. 11.x core/modules/system/tests/modules/sdc_test_invalid/components/my-card-no-schema/my-card-no-schema.twig

{{ header }}

{% block card_body %} Default contents for a card {% endblock %}

File

core/modules/sdc/tests/themes/sdc_theme_test_enforce_schema_invalid/components/my-card-no-schema/my-card-no-schema.twig

View source
  1. <div {{ attributes }}>
  2. <h2 class="component--my-card-no-schema__header">{{ header }}</h2>
  3. <div class="component--my-card-no-schema__body">
  4. {% block card_body %}
  5. Default contents for a card
  6. {% endblock %}
  7. </div>
  8. </div>

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