Skip to content
Snippets Groups Projects

Coding Standard issues - #3490747

Files
5
@@ -3,8 +3,8 @@
namespace Drupal\taxonomy_parents_index\Form;
use Drupal\Core\DependencyInjection\ContainerInjectionInterface;
use Drupal\Core\Form\FormStateInterface;
use Drupal\Core\Form\FormBase;
use Drupal\Core\Form\FormStateInterface;
use Drupal\Core\Messenger\MessengerInterface;
use Drupal\Core\StringTranslation\TranslationManager;
use Symfony\Component\DependencyInjection\ContainerInterface;
@@ -136,7 +136,7 @@ class IndexTaxonomyParents extends FormBase implements ContainerInjectionInterfa
/** @var \Drupal\taxonomy_parents_index\TaxonomyParentsIndexManager $customTaxonomyParentsIndexManager */
$customTaxonomyParentsIndexManager = \Drupal::service('taxonomy_parents_index.manager');
foreach ($terms as $revisionId => $termId) {
foreach ($terms as $termId) {
$customTaxonomyParentsIndexManager->indexAncestorTerms($termId, FALSE);
$context['sandbox']['current_id'] = $termId;
Loading