-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Refactored ContentType::isContainer property to method changed #1472
Refactored ContentType::isContainer property to method changed #1472
Conversation
@@ -4045,6 +4040,11 @@ parameters: | |||
count: 1 | |||
path: src/lib/Form/Data/FormMapper/ContentTypeDraftMapper.php | |||
|
|||
- |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remember to regenerate baseline after merging related PRs - this method should be accessible.
@@ -121,7 +121,7 @@ private function createContentType(FieldDefinitionCollectionInterface $fieldDefi | |||
|
|||
private function createContentTypeDraft(ContentType $contentType): ContentTypeDraft | |||
{ | |||
return new ContentTypeDraft(['innerContentType' => $contentType]); | |||
return new ContentTypeDraft(['innerContentType' => $contentType, 'isContainer' => false]); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Again - should we mark isContainer
as false
by default?
|
Related PRs:
Description:
Refactored ContentType::isContainer property to method changed