Skip to content

Commit 461174e

Browse files
committed
Removed unused code
1 parent 5e806f2 commit 461174e

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

src/Plugin/rest/resource/WebformAllFormSubmissions.php

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -36,13 +36,6 @@ class WebformAllFormSubmissions extends ResourceBase {
3636
*/
3737
private $currentRequest;
3838

39-
/**
40-
* The entity type manager object.
41-
*
42-
* @var \Drupal\Core\Entity\EntityTypeManager
43-
*/
44-
private $entityTypeManager;
45-
4639
/**
4740
* The webform helper.
4841
*
@@ -65,7 +58,6 @@ class WebformAllFormSubmissions extends ResourceBase {
6558
public static function create(ContainerInterface $container, array $configuration, $plugin_id, $plugin_definition) {
6659
$instance = parent::create($container, $configuration, $plugin_id, $plugin_definition);
6760

68-
$instance->entityTypeManager = $container->get('entity_type.manager');
6961
$instance->currentRequest = $container->get('request_stack')->getCurrentRequest();
7062
$instance->webformHelper = $container->get(WebformHelper::class);
7163
$instance->database = $container->get('database');

0 commit comments

Comments
 (0)