Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
paragraphs_form_block
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
paragraphs_form_block
Commits
fddff1dd
Commit
fddff1dd
authored
1 year ago
by
nicxvan
Browse files
Options
Downloads
Patches
Plain Diff
Resolve
#3288986
"Automated drupal 10"
parent
fce8fc89
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!2
Resolve #3288986 "Automated drupal 10"
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
paragraphs_form_block.info.yml
+1
-1
1 addition, 1 deletion
paragraphs_form_block.info.yml
src/Plugin/Block/ParagraphsFormBlock.php
+1
-2
1 addition, 2 deletions
src/Plugin/Block/ParagraphsFormBlock.php
with
2 additions
and
3 deletions
paragraphs_form_block.info.yml
+
1
−
1
View file @
fddff1dd
name
:
Paragraphs Form block
description
:
Enables the presentation of paragraph creation forms in blocks.
core
:
8.x
core
_version_requirement
:
^9 || ^10
type
:
module
package
:
Paragraphs
...
...
This diff is collapsed.
Click to expand it.
src/Plugin/Block/ParagraphsFormBlock.php
+
1
−
2
View file @
fddff1dd
<?php
namespace
Drupal\paragraphsformblock\Plugin\Block
;
namespace
Drupal\paragraphs
_
form
_
block\Plugin\Block
;
use
Drupal\Core\Block\BlockBase
;
use
Drupal\Core\Session\AccountInterface
;
use
Drupal\Core\Form\FormStateInterface
;
use
Drupal\Component\Utility\Xss
;
use
Drupal\Core\Plugin\ContainerFactoryPluginInterface
;
use
Drupal\paragraphs\Entity\ParagraphsType
;
use
Symfony\Component\DependencyInjection\ContainerInterface
;
...
...
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