'label' => 'Basic',
'revision' => 1,
])->
save();
block_content_add_body_field('basic'
);
$workflow->
getTypePlugin()->
addEntityTypeAndBundle('block_content', 'basic'
);
$workflow->
save();
// Enable layout overrides.
LayoutBuilderEntityViewDisplay::
load('node.bundle_with_section_field.default'
) ->
enableLayoutBuilder() ->
setOverridable() ->
save();
$this->
drupalLogin($this->
drupalCreateUser([ 'configure any layout',
'edit any bundle_with_section_field content',
'view bundle_with_section_field revisions',
'revert bundle_with_section_field revisions',
'view own unpublished content',
'view latest version',
'use editorial transition create_new_draft',
'use editorial transition publish',