public function PathAliasListBuilder::__construct in Drupal 9
Same name and namespace in other branches
- 8 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 $current_request: The current request.
\Drupal\Core\Form\FormBuilderInterface $form_builder: The form builder.
\Drupal\Core\Language\LanguageManagerInterface $language_manager: The language manager.
\Drupal\path_alias\AliasManagerInterface $alias_manager: The path alias manager.
Overrides EntityListBuilder::__construct
File
- core/
modules/ path/ src/ PathAliasListBuilder.php, line 69
Class
- PathAliasListBuilder
- Defines a class to build a listing of path_alias entities.
Namespace
Drupal\pathCode
public function __construct(EntityTypeInterface $entity_type, EntityStorageInterface $storage, Request $current_request, FormBuilderInterface $form_builder, LanguageManagerInterface $language_manager, AliasManagerInterface $alias_manager) {
parent::__construct($entity_type, $storage);
$this->currentRequest = $current_request;
$this->formBuilder = $form_builder;
$this->languageManager = $language_manager;
$this->aliasManager = $alias_manager;
}