Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
project
facets
Commits
6904e340
Commit
6904e340
authored
Feb 03, 2016
by
Novitsh
Committed by
borisson_
Feb 03, 2016
Browse files
Issue
#2661724
by Novitsh: Facet block not immediately visible in 'blocks' after creation
parent
1b0ecf3b
Changes
1
Show whitespace changes
Inline
Side-by-side
src/Form/FacetForm.php
View file @
6904e340
...
@@ -346,6 +346,9 @@ class FacetForm extends EntityForm {
...
@@ -346,6 +346,9 @@ class FacetForm extends EntityForm {
$form_state
->
setRedirect
(
'entity.facets_facet.edit_form'
,
[
'facets_facet'
=>
$facet
->
id
()]);
$form_state
->
setRedirect
(
'entity.facets_facet.edit_form'
,
[
'facets_facet'
=>
$facet
->
id
()]);
}
}
// Clear Drupal cache for blocks to reflect recent changes.
\
Drupal
::
service
(
'plugin.manager.block'
)
->
clearCachedDefinitions
();
return
$facet
;
return
$facet
;
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment