public function LingotekContentMetadataViewsData::__construct in Lingotek Translation 3.4.x
Same name and namespace in other branches
- 8.2 src/Views/LingotekContentMetadataViewsData.php \Drupal\lingotek\Views\LingotekContentMetadataViewsData::__construct()
- 4.0.x src/Views/LingotekContentMetadataViewsData.php \Drupal\lingotek\Views\LingotekContentMetadataViewsData::__construct()
- 3.0.x src/Views/LingotekContentMetadataViewsData.php \Drupal\lingotek\Views\LingotekContentMetadataViewsData::__construct()
- 3.1.x src/Views/LingotekContentMetadataViewsData.php \Drupal\lingotek\Views\LingotekContentMetadataViewsData::__construct()
- 3.2.x src/Views/LingotekContentMetadataViewsData.php \Drupal\lingotek\Views\LingotekContentMetadataViewsData::__construct()
- 3.3.x src/Views/LingotekContentMetadataViewsData.php \Drupal\lingotek\Views\LingotekContentMetadataViewsData::__construct()
- 3.5.x src/Views/LingotekContentMetadataViewsData.php \Drupal\lingotek\Views\LingotekContentMetadataViewsData::__construct()
- 3.6.x src/Views/LingotekContentMetadataViewsData.php \Drupal\lingotek\Views\LingotekContentMetadataViewsData::__construct()
- 3.7.x src/Views/LingotekContentMetadataViewsData.php \Drupal\lingotek\Views\LingotekContentMetadataViewsData::__construct()
- 3.8.x src/Views/LingotekContentMetadataViewsData.php \Drupal\lingotek\Views\LingotekContentMetadataViewsData::__construct()
Constructs an EntityViewsData object.
Parameters
\Drupal\Core\Entity\EntityTypeInterface $entity_type: The entity type to provide views integration for.
\Drupal\Core\Entity\Sql\SqlEntityStorageInterface $storage_controller: The storage handler used for this entity type.
\Drupal\Core\Entity\EntityTypeManagerInterface $entity_type_manager: The entity manager.
\Drupal\Core\Extension\ModuleHandlerInterface $module_handler: The module handler.
\Drupal\Core\StringTranslation\TranslationInterface $translation_manager: The translation manager.
\Drupal\lingotek\LingotekConfigurationServiceInterface $lingotek_configuration: The lingotek configuration service.
Overrides EntityViewsData::__construct
File
- src/
Views/ LingotekContentMetadataViewsData.php, line 45
Class
- LingotekContentMetadataViewsData
- Provides the lingotek views integration.
Namespace
Drupal\lingotek\ViewsCode
public function __construct(EntityTypeInterface $entity_type, SqlEntityStorageInterface $storage_controller, EntityTypeManagerInterface $entity_type_manager, ModuleHandlerInterface $module_handler, TranslationInterface $translation_manager, LingotekConfigurationServiceInterface $lingotek_configuration, EntityFieldManagerInterface $entity_field_manager = NULL) {
parent::__construct($entity_type, $storage_controller, $entity_type_manager, $module_handler, $translation_manager, $entity_field_manager);
$this->lingotekConfigService = $lingotek_configuration;
}