public function RelationListBuilder::__construct in CRM Core 8.3
Same name and namespace in other branches
- 8 modules/crm_core_user_sync/src/RelationListBuilder.php \Drupal\crm_core_user_sync\RelationListBuilder::__construct()
Constructs a new RelationListBuilder object.
Parameters
\Drupal\Core\Entity\EntityTypeInterface $entity_type: The entity type definition.
\Drupal\Core\Entity\EntityStorageInterface $storage: The entity storage class.
\Drupal\Core\Datetime\DateFormatterInterface $date_formatter: The date formatter service.
\Drupal\Core\Routing\RedirectDestinationInterface $redirect_destination: The redirect destination service.
Overrides EntityListBuilder::__construct
File
- modules/
crm_core_user_sync/ src/ RelationListBuilder.php, line 44
Class
- RelationListBuilder
- Provides a list controller for the relation entity type.
Namespace
Drupal\crm_core_user_syncCode
public function __construct(EntityTypeInterface $entity_type, EntityStorageInterface $storage, DateFormatterInterface $date_formatter, RedirectDestinationInterface $redirect_destination) {
parent::__construct($entity_type, $storage);
$this->dateFormatter = $date_formatter;
$this->redirectDestination = $redirect_destination;
}