Commit b7dd34e6 authored by borisson_'s avatar borisson_

Adhere to all of core's coding standards

parent ddddc3fb
......@@ -161,7 +161,8 @@ function facets_entity_predelete(EntityInterface $entity) {
if (strpos($plugin_id, 'search_api:' . $entity->id() . '__') !== FALSE) {
try {
$facetManager = \Drupal::getContainer()->get('facets.manager');
} catch (ServiceNotFoundException $e) {
}
catch (ServiceNotFoundException $e) {
\Drupal::logger('facets')->log(RfcLogLevel::DEBUG, 'Facet manager not found on trying to delete a view.');
return;
}
......
<?php
/**
* @file
* Hook implementations for the facets summary module.
*/
/**
* Implements hook_theme().
*/
......
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