public function LanguageListBuilder::__construct in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/modules/language/src/LanguageListBuilder.php \Drupal\language\LanguageListBuilder::__construct()
Constructs a new LanguageListBuilder object.
Parameters
\Drupal\Core\Entity\EntityTypeInterface $entity_type: The entity type definition.
\Drupal\Core\Entity\EntityStorageInterface $storage: The entity storage controller class.
\Drupal\Core\Language\LanguageManagerInterface: 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 70 - Contains \Drupal\language\LanguageListBuilder.
Class
- LanguageListBuilder
- Defines a class to build a listing of language entities.
Namespace
Drupal\languageCode
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;
}