You are here

protected function AutoAspectEffect::setEntityTypeManager in Thunder 6.2.x

Same name and namespace in other branches
  1. 8.5 modules/thunder_media/src/Plugin/ImageEffect/AutoAspectEffect.php \Drupal\thunder_media\Plugin\ImageEffect\AutoAspectEffect::setEntityTypeManager()
  2. 6.0.x modules/thunder_media/src/Plugin/ImageEffect/AutoAspectEffect.php \Drupal\thunder_media\Plugin\ImageEffect\AutoAspectEffect::setEntityTypeManager()
  3. 6.1.x modules/thunder_media/src/Plugin/ImageEffect/AutoAspectEffect.php \Drupal\thunder_media\Plugin\ImageEffect\AutoAspectEffect::setEntityTypeManager()

Set the entity type manager service.

Parameters

\Drupal\Core\Entity\EntityTypeManagerInterface $entityTypeManager: The entity type manager service.

File

modules/thunder_media/src/Plugin/ImageEffect/AutoAspectEffect.php, line 44

Class

AutoAspectEffect
Resizes an image resource.

Namespace

Drupal\thunder_media\Plugin\ImageEffect

Code

protected function setEntityTypeManager(EntityTypeManagerInterface $entityTypeManager) {
  $this->entityTypeManager = $entityTypeManager;
}