Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
R
require_on_publish
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
require_on_publish
Merge requests
!17
3439406: Fixing issue with indicators on nested para fields.
Code
Review changes
Check out branch
Download
Patches
Plain diff
Open
3439406: Fixing issue with indicators on nested para fields.
issue/require_on_publish-3439406:3439406-require-on-publish
into
8.x-1.x
Overview
0
Commits
1
Pipelines
1
Changes
1
Open
Lokeshwari
requested to merge
issue/require_on_publish-3439406:3439406-require-on-publish
into
8.x-1.x
9 months ago
Overview
0
Commits
1
Pipelines
1
Changes
1
Expand
Closes
#3439406
0
0
Merge request reports
Compare
8.x-1.x
8.x-1.x (HEAD)
and
latest version
latest version
727eb1c7
1 commit,
9 months ago
1 file
+
7
−
0
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
require_on_publish.module
+
7
−
0
Options
@@ -284,3 +284,10 @@ function _require_on_publish_entity_is_publishable($entity_class) {
return
TRUE
;
}
/**
* Implements hook_field_widget_single_element_WIDGET_TYPE_form_alter().
*/
function
require_on_publish_field_widget_single_element_entity_reference_paragraphs_form_alter
(
array
&
$element
,
FormStateInterface
$form_state
,
array
$context
)
{
_require_on_publish_add_indicator_to_paragraph
(
$element
,
$form_state
,
$context
);
}
Loading