function PathAliasListBuilder::__construct
Same name and namespace in other branches
- 11.x core/modules/path/src/PathAliasListBuilder.php \Drupal\path\PathAliasListBuilder::__construct()
- 10 core/modules/path/src/PathAliasListBuilder.php \Drupal\path\PathAliasListBuilder::__construct()
- 9 core/modules/path/src/PathAliasListBuilder.php \Drupal\path\PathAliasListBuilder::__construct()
- 8.9.x core/modules/path/src/PathAliasListBuilder.php \Drupal\path\PathAliasListBuilder::__construct()
Constructs a new PathAliasListBuilder object.
Parameters
\Drupal\Core\Entity\EntityTypeInterface $entity_type: The entity type definition.
\Drupal\Core\Entity\EntityStorageInterface $storage: The entity storage class.
\Symfony\Component\HttpFoundation\Request $currentRequest: The current request.
\Drupal\Core\Form\FormBuilderInterface $formBuilder: The form builder.
\Drupal\Core\Language\LanguageManagerInterface $languageManager: The language manager.
\Drupal\path_alias\AliasManagerInterface $aliasManager: The path alias manager.
Overrides EntityListBuilder::__construct
File
-
core/
modules/ path/ src/ PathAliasListBuilder.php, line 40
Class
- PathAliasListBuilder
- Defines a class to build a listing of path_alias entities.
Namespace
Drupal\pathCode
public function __construct(EntityTypeInterface $entity_type, EntityStorageInterface $storage, protected Request $currentRequest, protected FormBuilderInterface $formBuilder, protected LanguageManagerInterface $languageManager, protected AliasManagerInterface $aliasManager) {
parent::__construct($entity_type, $storage);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.