Skip to content
Snippets Groups Projects

Issue #3469915: A lot of unused variables

Open andrii momotov requested to merge issue/field_tools-3469915:3469915-a-lot-of into 8.x-1.x
Files
7
@@ -3,16 +3,13 @@
namespace Drupal\field_tools\Controller;
use Drupal\Core\DependencyInjection\ContainerInjectionInterface;
use Drupal\Core\Entity\EntityInterface;
use Drupal\Core\Entity\EntityTypeBundleInfoInterface;
use Drupal\Core\Entity\EntityTypeManagerInterface;
use Drupal\Core\Form\FormBuilderInterface;
use Drupal\Core\Form\FormInterface;
use Drupal\Core\Form\FormStateInterface;
use Drupal\Core\Link;
use Drupal\Core\Routing\RouteMatchInterface;
use Drupal\Core\StringTranslation\StringTranslationTrait;
use Drupal\Core\Url;
use Fhaculty\Graph\Graph;
use Symfony\Component\DependencyInjection\ContainerInterface;
use Symfony\Component\HttpFoundation\RequestStack;
@@ -116,10 +113,6 @@ class FieldGraph implements ContainerInjectionInterface, FormInterface {
return $build;
}
$graph_nodes = [];
$graph_nodes_ids_by_entity_bundle = [];
$index = 0;
$reference_types_filter = $this->requestStack->getCurrentRequest()->query->get('reference_types');
$reference_field_definitions = \Drupal::service('field_tools.references.info')->getReferenceFields(
!empty($reference_types_filter['files']),
Loading