public function OrganizationListBuilder::__construct in CRM Core 8
Same name and namespace in other branches
- 8.3 modules/crm_core_contact/src/OrganizationListBuilder.php \Drupal\crm_core_contact\OrganizationListBuilder::__construct()
- 8.2 modules/crm_core_contact/src/OrganizationListBuilder.php \Drupal\crm_core_contact\OrganizationListBuilder::__construct()
Constructs a new NodeListBuilder object.
Parameters
\Drupal\Core\Entity\EntityTypeInterface $entity_type: The entity type definition.
\Drupal\Core\Entity\EntityStorageInterface $storage: The entity storage class.
\Drupal\Core\Datetime\DateFormatter $date_formatter: The date formatter service.
Overrides EntityListBuilder::__construct
File
- modules/
crm_core_contact/ src/ OrganizationListBuilder.php, line 41
Class
- OrganizationListBuilder
- Class OrganizationListBuilder.
Namespace
Drupal\crm_core_contactCode
public function __construct(EntityTypeInterface $entity_type, EntityStorageInterface $storage, DateFormatter $date_formatter) {
parent::__construct($entity_type, $storage);
$this->dateFormatter = $date_formatter;
}