Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
form_helper_widget
Manage
Activity
Members
Labels
Plan
Wiki
Custom issue tracker
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
project
form_helper_widget
Commits
a50a5202
Commit
a50a5202
authored
1 year ago
by
Thomas Secher
Browse files
Options
Downloads
Patches
Plain Diff
Issue
#3360654
fix default text format
parent
a33ebeda
Branches
1.x
Tags
1.1.0
1.1.0-rc1
1 merge request
!2
Issue #3360654 fix default text format
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/Plugin/field_group/FieldGroupFormatter/FormHelperFieldGroup.php
+1
-1
1 addition, 1 deletion
.../field_group/FieldGroupFormatter/FormHelperFieldGroup.php
with
1 addition
and
1 deletion
src/Plugin/field_group/FieldGroupFormatter/FormHelperFieldGroup.php
+
1
−
1
View file @
a50a5202
...
...
@@ -218,7 +218,7 @@ class FormHelperFieldGroup extends FieldGroupFormatterBase {
* The default text format id.
*/
public
static
function
getDefaultFormatText
():
string
{
if
(
is
_null
(
static
::
$defaultTextFormat
))
{
if
(
!
is
set
(
static
::
$defaultTextFormat
))
{
static
::
$defaultTextFormat
=
''
;
if
(
$formats
=
\Drupal
::
entityTypeManager
()
->
getStorage
(
'filter_format'
))
{
static
::
$defaultTextFormat
=
array_keys
(
$formats
->
loadMultiple
())[
0
];
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment