You are here

public function FieldValidationRuleSetListBuilder::__construct in Field Validation 8

Constructs a new FieldValidationRuleSetListBuilder object.

Parameters

EntityTypeInterface $entity_type: The entity type definition.

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

\Drupal\Core\Routing\UrlGeneratorInterface $url_generator: The URL generator.

Overrides EntityListBuilder::__construct

File

src/FieldValidationRuleSetListBuilder.php, line 36

Class

FieldValidationRuleSetListBuilder
Defines a class to build a listing of FieldValidationRuleSet entities.

Namespace

Drupal\field_validation

Code

public function __construct(EntityTypeInterface $entity_type, EntityStorageInterface $entity_storage, UrlGeneratorInterface $url_generator) {
  parent::__construct($entity_type, $entity_storage);
  $this->urlGenerator = $url_generator;
}