Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
D
drupal
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Custom Issue Tracker
Custom Issue Tracker
Labels
Merge Requests
294
Merge Requests
294
Requirements
Requirements
List
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Analytics
Analytics
Code Review
Insights
Issue
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
project
drupal
Commits
8839de5c
Commit
8839de5c
authored
Dec 01, 2014
by
Dries
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Issue
#2381909
by larowlan, alexpott: Basic block type provided by standard is missing a body field
parent
6ec9c1ff
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
78 additions
and
0 deletions
+78
-0
core/profiles/standard/config/install/core.entity_form_display.block_content.basic.default.yml
.../core.entity_form_display.block_content.basic.default.yml
+30
-0
core/profiles/standard/config/install/core.entity_view_display.block_content.basic.default.yml
.../core.entity_view_display.block_content.basic.default.yml
+22
-0
core/profiles/standard/config/install/field.field.block_content.basic.body.yml
...d/config/install/field.field.block_content.basic.body.yml
+22
-0
core/profiles/standard/src/Tests/StandardTest.php
core/profiles/standard/src/Tests/StandardTest.php
+4
-0
No files found.
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
Markdown
is supported
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