public function MigrationListBuilder::__construct in Migrate Tools 8
Same name and namespace in other branches
- 8.5 src/Controller/MigrationListBuilder.php \Drupal\migrate_tools\Controller\MigrationListBuilder::__construct()
- 8.2 src/Controller/MigrationListBuilder.php \Drupal\migrate_tools\Controller\MigrationListBuilder::__construct()
- 8.3 src/Controller/MigrationListBuilder.php \Drupal\migrate_tools\Controller\MigrationListBuilder::__construct()
- 8.4 src/Controller/MigrationListBuilder.php \Drupal\migrate_tools\Controller\MigrationListBuilder::__construct()
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.
\Drupal\Core\Routing\CurrentRouteMatch $current_route_match: The Current route match service.
Overrides EntityListBuilder::__construct
File
- src/
Controller/ MigrationListBuilder.php, line 43 - Contains Drupal\migrate_tools\Controller\MigrationListBuilder.
Class
- MigrationListBuilder
- Provides a listing of migration entities in a given group.
Namespace
Drupal\migrate_tools\ControllerCode
public function __construct(EntityTypeInterface $entity_type, EntityStorageInterface $storage, CurrentRouteMatch $current_route_match) {
parent::__construct($entity_type, $storage);
$this->currentRouteMatch = $current_route_match;
}