You are here

public function UserRestrictionsListBuilder::__construct in User restrictions 8

Constructs a new EntityListBuilder object.

Parameters

\Drupal\Core\Entity\EntityTypeInterface $entity_type: The entity type definition.

\Drupal\Core\Entity\EntityStorageInterface $storage: The entity storage class.

Overrides EntityListBuilder::__construct

File

src/UserRestrictionsListBuilder.php, line 29

Class

UserRestrictionsListBuilder
Defines a class to build a listing of image style entities.

Namespace

Drupal\user_restrictions

Code

public function __construct(EntityTypeInterface $entity_type, EntityStorageInterface $storage) {
  parent::__construct($entity_type, $storage);
  $this->typeManager = \Drupal::service('user_restrictions.type_manager');
}