Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
ui_suite_bootstrap
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
ui_suite_bootstrap
Merge requests
!107
Issue
#3292594
: Bootstrap 5 : Components > Modal
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Issue
#3292594
: Bootstrap 5 : Components > Modal
issue/ui_suite_bootstrap-3292594:3292594-bootstrap-5-
into
5.0.x
Overview
11
Commits
2
Pipelines
1
Changes
6
All threads resolved!
Hide all comments
Merged
mademo
requested to merge
issue/ui_suite_bootstrap-3292594:3292594-bootstrap-5-
into
5.0.x
1 year ago
Overview
11
Commits
2
Pipelines
1
Changes
6
All threads resolved!
Hide all comments
Expand
0
0
Merge request reports
Compare
5.0.x
version 4
8f726e21
1 year ago
version 3
9fca0f22
1 year ago
version 2
3b555f9d
1 year ago
version 1
233f1c14
1 year ago
5.0.x (base)
and
latest version
latest version
e3b7d7eb
2 commits,
1 year ago
version 4
8f726e21
1 commit,
1 year ago
version 3
9fca0f22
3 commits,
1 year ago
version 2
3b555f9d
3 commits,
1 year ago
version 1
233f1c14
2 commits,
1 year ago
6 files
+
348
−
0
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
6
Search (e.g. *.vue) (Ctrl+P)
src/HookHandler/PreprocessPatternModal.php
0 → 100644
+
24
−
0
Options
<?php
declare
(
strict_types
=
1
);
namespace
Drupal\ui_suite_bootstrap\HookHandler
;
use
Drupal\Component\Utility\Html
;
/**
* Handle variables needed for the pattern.
*/
class
PreprocessPatternModal
{
/**
* Handle variables needed for the pattern.
*
* @param array $variables
* The preprocessed variables.
*/
public
function
preprocess
(
array
&
$variables
):
void
{
$variables
[
'modal_id'
]
=
Html
::
getUniqueId
(
'bootstrap-modal'
);
}
}
Loading