You are here

public function LingotekContentMetadataViewsData::__construct in Lingotek Translation 3.2.x

Same name and namespace in other branches
  1. 8.2 src/Views/LingotekContentMetadataViewsData.php \Drupal\lingotek\Views\LingotekContentMetadataViewsData::__construct()
  2. 4.0.x src/Views/LingotekContentMetadataViewsData.php \Drupal\lingotek\Views\LingotekContentMetadataViewsData::__construct()
  3. 3.0.x src/Views/LingotekContentMetadataViewsData.php \Drupal\lingotek\Views\LingotekContentMetadataViewsData::__construct()
  4. 3.1.x src/Views/LingotekContentMetadataViewsData.php \Drupal\lingotek\Views\LingotekContentMetadataViewsData::__construct()
  5. 3.3.x src/Views/LingotekContentMetadataViewsData.php \Drupal\lingotek\Views\LingotekContentMetadataViewsData::__construct()
  6. 3.4.x src/Views/LingotekContentMetadataViewsData.php \Drupal\lingotek\Views\LingotekContentMetadataViewsData::__construct()
  7. 3.5.x src/Views/LingotekContentMetadataViewsData.php \Drupal\lingotek\Views\LingotekContentMetadataViewsData::__construct()
  8. 3.6.x src/Views/LingotekContentMetadataViewsData.php \Drupal\lingotek\Views\LingotekContentMetadataViewsData::__construct()
  9. 3.7.x src/Views/LingotekContentMetadataViewsData.php \Drupal\lingotek\Views\LingotekContentMetadataViewsData::__construct()
  10. 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\Views

Code

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;
}