Commit 28e96fa4 authored by borisson_'s avatar borisson_

Issue #2906665: Follow-up, fix more style issues

parent 4ea61429
......@@ -309,7 +309,6 @@ function facets_system_breadcrumb_alter(Breadcrumb &$breadcrumb, RouteMatchInter
// without all the other request parameters; with this we could implement:
// @see https://www.drupal.org/node/2861586
// TODO handle not grouped facets.
/** @var \Drupal\facets\Result\ResultInterface[] $facet_results */
foreach ($active_results as $facet_alias => $facet_results) {
$facet_used_result[] = $facet_alias;
......
......@@ -25,4 +25,3 @@ Q: Why is this in a submodule?
A: We wanted to add a requirements message when the library was not installed,
to give a good experience when installing the module. We didn't want everyone
to have to install the library though.
......@@ -43,6 +43,8 @@ class FacetSourceEditForm extends EntityForm {
* The entity type manager.
* @param \Drupal\facets\UrlProcessor\UrlProcessorPluginManager $url_processor_plugin_manager
* The url processor plugin manager.
* @param \Drupal\Core\Extension\ModuleHandlerInterface $moduleHandler
* Drupal's module handler.
*/
public function __construct(EntityTypeManagerInterface $entity_type_manager, UrlProcessorPluginManager $url_processor_plugin_manager, ModuleHandlerInterface $moduleHandler) {
$facet_source_storage = $entity_type_manager->getStorage('facets_facet_source');
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment