public function PollVoteStorage::__construct in Poll 8
Constructs a new PollVoteStorage.
Parameters
\Drupal\Core\Database\Connection $connection: A Database connection to use for reading and writing database data.
\Drupal\Core\Cache\CacheTagsInvalidatorInterface $cache_tags_invalidator: The cache tags invalidator.
File
- src/
PollVoteStorage.php, line 43
Class
- PollVoteStorage
- Controller class for poll vote storage.
Namespace
Drupal\pollCode
public function __construct(Connection $connection, CacheTagsInvalidatorInterface $cache_tags_invalidator) {
$this->connection = $connection;
$this->cacheTagsInvalidator = $cache_tags_invalidator;
}