diff --git a/poll.module b/poll.module index f6e7b95..3d14843 100644 --- a/poll.module +++ b/poll.module @@ -6,7 +6,6 @@ */ use Drupal\Component\Utility\Html; -use Drupal\poll\Entity\Poll; use Drupal\Core\Template\Attribute; use Drupal\Core\Routing\RouteMatchInterface; diff --git a/src/Form/PollForm.php b/src/Form/PollForm.php index 5ba4d39..0c92f87 100644 --- a/src/Form/PollForm.php +++ b/src/Form/PollForm.php @@ -4,7 +4,6 @@ namespace Drupal\poll\Form; use Drupal\Core\Entity\ContentEntityForm; use Drupal\Core\Form\FormStateInterface; -use Drupal\Core\Render\Element; /** * Form controller for the poll edit forms.