Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
E
examples-3444011
Manage
Activity
Members
Labels
Plan
Custom issue tracker
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
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
Issue forks
examples-3444011
Commits
cc5ab975
Commit
cc5ab975
authored
1 year ago
by
Qiangjun Ran
Browse files
Options
Downloads
Patches
Plain Diff
Fix a bug/typo in \Drupal\file_example\FileExampleStateHelper::deleteDefaultState()
parent
af9136e3
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
modules/file_example/src/FileExampleStateHelper.php
+1
-1
1 addition, 1 deletion
modules/file_example/src/FileExampleStateHelper.php
with
1 addition
and
1 deletion
modules/file_example/src/FileExampleStateHelper.php
+
1
−
1
View file @
cc5ab975
...
...
@@ -66,7 +66,7 @@ class FileExampleStateHelper {
* Removes the default file and default directory from the state storage.
*/
public
function
deleteDefaultState
():
void
{
$this
->
state
->
delete
(
key
:
self
::
KEY_DEFAULT_DIRECTORY
);
$this
->
state
->
delete
(
self
::
KEY_DEFAULT_DIRECTORY
);
$this
->
state
->
delete
(
self
::
KEY_DEFAULT_FILE
);
}
...
...
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