You are here

public function MappedObjectList::__construct in Salesforce Suite 8.3

Constructs a new MappedObjectList object.

Parameters

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

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

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

Overrides EntityListBuilder::__construct

File

modules/salesforce_mapping/src/MappedObjectList.php, line 54

Class

MappedObjectList
Provides a list controller for salesforce_mapping entity.

Namespace

Drupal\salesforce_mapping

Code

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