Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
CiviCRM Core
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container registry
Model registry
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Development
CiviCRM Core
Commits
d0efb0d7
Unverified
Commit
d0efb0d7
authored
3 years ago
by
Eileen McNaughton
Committed by
GitHub
3 years ago
Browse files
Options
Downloads
Plain Diff
Merge pull request #20836 from seamuslee001/dev_rc_13
Resolve
rc#13
by permitting civi.setupui events to be dispatched …
parents
957d6395
fd795073
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
setup/src/Setup.php
+5
-1
5 additions, 1 deletion
setup/src/Setup.php
with
5 additions
and
1 deletion
setup/src/Setup.php
+
5
−
1
View file @
d0efb0d7
...
...
@@ -71,7 +71,11 @@ class Setup {
self
::
$instance
->
model
=
new
\Civi\Setup\Model
();
self
::
$instance
->
model
->
setValues
(
$modelValues
);
self
::
$instance
->
dispatcher
=
new
CiviEventDispatcher
();
self
::
$instance
->
dispatcher
->
setDispatchPolicy
([
'/^civi\.setup\./'
=>
'run'
,
'/./'
=>
'fail'
]);
self
::
$instance
->
dispatcher
->
setDispatchPolicy
([
'/^civi\.setup\./'
=>
'run'
,
'/^civi\.setupui\./'
=>
'run'
,
'/./'
=>
'fail'
,
]);
self
::
$instance
->
log
=
$log
?
$log
:
new
NullLogger
();
$pluginDir
=
dirname
(
__DIR__
)
.
'/plugins'
;
...
...
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