Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
project
drupal
Commits
8839de5c
Commit
8839de5c
authored
Dec 01, 2014
by
Dries
Browse files
Issue
#2381909
by larowlan, alexpott: Basic block type provided by standard is missing a body field
parent
6ec9c1ff
Changes
4
Show whitespace changes
Inline
Side-by-side
core/profiles/standard/config/install/core.entity_form_display.block_content.basic.default.yml
0 → 100644
View file @
8839de5c
langcode
:
en
status
:
true
dependencies
:
config
:
-
block_content.type.basic
-
field.field.block_content.basic.body
module
:
-
text
id
:
block_content.basic.default
targetEntityType
:
block_content
bundle
:
basic
mode
:
default
content
:
info
:
type
:
string_textfield
weight
:
-5
settings
:
size
:
60
placeholder
:
'
'
third_party_settings
:
{
}
body
:
type
:
text_textarea_with_summary
weight
:
-4
settings
:
rows
:
9
summary_rows
:
3
placeholder
:
'
'
third_party_settings
:
{
}
hidden
:
{
}
third_party_settings
:
{
}
core/profiles/standard/config/install/core.entity_view_display.block_content.basic.default.yml
0 → 100644
View file @
8839de5c
langcode
:
en
status
:
true
dependencies
:
config
:
-
block_content.type.basic
-
field.field.block_content.basic.body
module
:
-
text
id
:
block_content.basic.default
label
:
null
targetEntityType
:
block_content
bundle
:
basic
mode
:
default
content
:
body
:
label
:
hidden
type
:
text_default
weight
:
0
settings
:
{
}
third_party_settings
:
{
}
hidden
:
{
}
third_party_settings
:
{
}
core/profiles/standard/config/install/field.field.block_content.basic.body.yml
0 → 100644
View file @
8839de5c
langcode
:
en
status
:
true
dependencies
:
config
:
-
block_content.type.basic
-
field.storage.block_content.body
module
:
-
text
id
:
block_content.basic.body
field_name
:
body
entity_type
:
block_content
bundle
:
basic
label
:
Body
description
:
'
'
required
:
false
translatable
:
true
default_value
:
{
}
default_value_callback
:
'
'
settings
:
display_summary
:
false
third_party_settings
:
{
}
field_type
:
text_with_summary
core/profiles/standard/src/Tests/StandardTest.php
View file @
8839de5c
...
...
@@ -90,6 +90,10 @@ function testStandard() {
$this
->
assertText
(
'Foobar'
);
$this
->
assertNoText
(
'Then she picked out two somebodies, Sally and me'
);
// Ensure block body exists.
$this
->
drupalGet
(
'block/add'
);
$this
->
assertFieldByName
(
'body[0][value]'
);
// Now we have all configuration imported, test all of them for schema
// conformance. Ensures all imported default configuration is valid when
// standard profile modules are enabled.
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment