Skip to content

Commit

Permalink
Removed unused code
Browse files Browse the repository at this point in the history
  • Loading branch information
jekuaitk committed Dec 18, 2024
1 parent 5e806f2 commit 461174e
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions src/Plugin/rest/resource/WebformAllFormSubmissions.php
Original file line number Diff line number Diff line change
Expand Up @@ -36,13 +36,6 @@ class WebformAllFormSubmissions extends ResourceBase {
*/
private $currentRequest;

/**
* The entity type manager object.
*
* @var \Drupal\Core\Entity\EntityTypeManager
*/
private $entityTypeManager;

/**
* The webform helper.
*
Expand All @@ -65,7 +58,6 @@ class WebformAllFormSubmissions extends ResourceBase {
public static function create(ContainerInterface $container, array $configuration, $plugin_id, $plugin_definition) {
$instance = parent::create($container, $configuration, $plugin_id, $plugin_definition);

$instance->entityTypeManager = $container->get('entity_type.manager');
$instance->currentRequest = $container->get('request_stack')->getCurrentRequest();
$instance->webformHelper = $container->get(WebformHelper::class);
$instance->database = $container->get('database');
Expand Down

0 comments on commit 461174e

Please sign in to comment.