public LanguageListBuilder::__construct(EntityTypeInterface $entity_type, EntityStorageInterface $storage, LanguageManagerInterface $language_manager, ConfigFactoryInterface $config_factory)
Constructs a new LanguageListBuilder object.
Parameters
\Drupal\Core\Entity\EntityTypeInterface $entity_type: The entity type definition.
\Drupal\Core\Entity\EntityStorageInterface $storage: The entity storage handler class.
\Drupal\Core\Language\LanguageManagerInterface $language_manager: The language manager.
\Drupal\Core\Config\ConfigFactoryInterface $config_factory: The factory for configuration objects.
Overrides DraggableListBuilder::__construct
File
- core/modules/language/src/LanguageListBuilder.php, line 64
Class
- LanguageListBuilder
- Defines a class to build a listing of language entities.
Namespace
Drupal\language
Code
public function __construct(EntityTypeInterface $entity_type, EntityStorageInterface $storage, LanguageManagerInterface $language_manager, ConfigFactoryInterface $config_factory) { parent::__construct($entity_type, $storage); $this->languageManager = $language_manager; $this->configFactory = $config_factory; }
Please login to continue.