You are here

protected property StatisticsPopularBlock::$entityRepository in Drupal 8

Same name and namespace in other branches
  1. 9 core/modules/statistics/src/Plugin/Block/StatisticsPopularBlock.php \Drupal\statistics\Plugin\Block\StatisticsPopularBlock::entityRepository

The entity repository service.

Type: \Drupal\Core\Entity\EntityRepositoryInterface

File

core/modules/statistics/src/Plugin/Block/StatisticsPopularBlock.php, line 38

Class

StatisticsPopularBlock
Provides a 'Popular content' block.

Namespace

Drupal\statistics\Plugin\Block

Code

protected $entityRepository;