Loading core/recipes/article_comment/config/field.field.node.article.comment.yml +32 Changes for core/recipes/article_comment/config/field.field.node.article.comment.yml: 32 added lines, 0 removed lines. Original line number Diff line number Diff line langcode: en status: true dependencies: config: - field.storage.node.comment - node.type.article module: - comment id: node.article.comment field_name: comment entity_type: node bundle: article label: Comments description: '' required: false translatable: true default_value: - status: 2 cid: 0 last_comment_timestamp: 0 last_comment_name: null last_comment_uid: 0 comment_count: 0 default_value_callback: '' settings: default_mode: 1 per_page: 50 anonymous: 0 form_location: true preview: 1 field_type: comment core/recipes/article_comment/recipe.yml +32 Changes for core/recipes/article_comment/recipe.yml: 32 added lines, 0 removed lines. Original line number Diff line number Diff line name: 'Article comments' description: 'Provides commenting on article content.' type: 'Content field' recipes: - article_content_type - comment_base config: # If the `comment` field already exists, it is guaranteed to be the right # field type because the comment_base recipe treats the field storage strictly. strict: false actions: core.entity_form_display.node.article.default: setComponent: name: comment options: type: comment_default weight: 20 region: content settings: {} third_party_settings: {} core.entity_view_display.node.article.default: setComponent: name: comment options: type: comment_default label: above settings: view_mode: default pager_id: 0 third_party_settings: { } weight: 110 region: content core/recipes/article_comment/tests/src/Functional/GenericTest.php +16 Changes for core/recipes/article_comment/tests/src/Functional/GenericTest.php: 16 added lines, 0 removed lines. Original line number Diff line number Diff line <?php declare(strict_types=1); namespace Drupal\FunctionalTests\Recipe\Core\article_comment; use Drupal\Tests\system\Functional\Recipe\GenericRecipeTestBase; use PHPUnit\Framework\Attributes\Group; use PHPUnit\Framework\Attributes\RunTestsInSeparateProcesses; /** * Tests Generic. */ #[Group('core_article_comment_recipe')] #[RunTestsInSeparateProcesses] class GenericTest extends GenericRecipeTestBase {} core/recipes/article_content_type/config/core.base_field_override.node.article.promote.yml +21 Changes for core/recipes/article_content_type/config/core.base_field_override.node.article.promote.yml: 21 added lines, 0 removed lines. Original line number Diff line number Diff line langcode: en status: true dependencies: config: - node.type.article id: node.article.promote field_name: promote entity_type: node bundle: article label: 'Promoted to front page' description: '' required: false translatable: false default_value: - value: 1 default_value_callback: '' settings: on_label: 'On' off_label: 'Off' field_type: boolean core/recipes/article_content_type/config/field.field.node.article.body.yml +23 Changes for core/recipes/article_content_type/config/field.field.node.article.body.yml: 23 added lines, 0 removed lines. Original line number Diff line number Diff line langcode: en status: true dependencies: config: - field.storage.node.body - node.type.article module: - text id: node.article.body field_name: body entity_type: node bundle: article label: Body description: '' required: false translatable: true default_value: { } default_value_callback: '' settings: display_summary: true required_summary: false allowed_formats: { } field_type: text_with_summary Loading
core/recipes/article_comment/config/field.field.node.article.comment.yml +32 Changes for core/recipes/article_comment/config/field.field.node.article.comment.yml: 32 added lines, 0 removed lines. Original line number Diff line number Diff line langcode: en status: true dependencies: config: - field.storage.node.comment - node.type.article module: - comment id: node.article.comment field_name: comment entity_type: node bundle: article label: Comments description: '' required: false translatable: true default_value: - status: 2 cid: 0 last_comment_timestamp: 0 last_comment_name: null last_comment_uid: 0 comment_count: 0 default_value_callback: '' settings: default_mode: 1 per_page: 50 anonymous: 0 form_location: true preview: 1 field_type: comment
core/recipes/article_comment/recipe.yml +32 Changes for core/recipes/article_comment/recipe.yml: 32 added lines, 0 removed lines. Original line number Diff line number Diff line name: 'Article comments' description: 'Provides commenting on article content.' type: 'Content field' recipes: - article_content_type - comment_base config: # If the `comment` field already exists, it is guaranteed to be the right # field type because the comment_base recipe treats the field storage strictly. strict: false actions: core.entity_form_display.node.article.default: setComponent: name: comment options: type: comment_default weight: 20 region: content settings: {} third_party_settings: {} core.entity_view_display.node.article.default: setComponent: name: comment options: type: comment_default label: above settings: view_mode: default pager_id: 0 third_party_settings: { } weight: 110 region: content
core/recipes/article_comment/tests/src/Functional/GenericTest.php +16 Changes for core/recipes/article_comment/tests/src/Functional/GenericTest.php: 16 added lines, 0 removed lines. Original line number Diff line number Diff line <?php declare(strict_types=1); namespace Drupal\FunctionalTests\Recipe\Core\article_comment; use Drupal\Tests\system\Functional\Recipe\GenericRecipeTestBase; use PHPUnit\Framework\Attributes\Group; use PHPUnit\Framework\Attributes\RunTestsInSeparateProcesses; /** * Tests Generic. */ #[Group('core_article_comment_recipe')] #[RunTestsInSeparateProcesses] class GenericTest extends GenericRecipeTestBase {}
core/recipes/article_content_type/config/core.base_field_override.node.article.promote.yml +21 Changes for core/recipes/article_content_type/config/core.base_field_override.node.article.promote.yml: 21 added lines, 0 removed lines. Original line number Diff line number Diff line langcode: en status: true dependencies: config: - node.type.article id: node.article.promote field_name: promote entity_type: node bundle: article label: 'Promoted to front page' description: '' required: false translatable: false default_value: - value: 1 default_value_callback: '' settings: on_label: 'On' off_label: 'Off' field_type: boolean
core/recipes/article_content_type/config/field.field.node.article.body.yml +23 Changes for core/recipes/article_content_type/config/field.field.node.article.body.yml: 23 added lines, 0 removed lines. Original line number Diff line number Diff line langcode: en status: true dependencies: config: - field.storage.node.body - node.type.article module: - text id: node.article.body field_name: body entity_type: node bundle: article label: Body description: '' required: false translatable: true default_value: { } default_value_callback: '' settings: display_summary: true required_summary: false allowed_formats: { } field_type: text_with_summary