You are here

public function FocalPointManager::__construct in Focal Point 8

Constructs FocalPointManager.

Parameters

\Drupal\Core\Entity\EntityTypeManagerInterface $entity_type_manager: Entity type manager service.

File

src/FocalPointManager.php, line 35

Class

FocalPointManager
Provides business logic related to focal point.

Namespace

Drupal\focal_point

Code

public function __construct(EntityTypeManagerInterface $entity_type_manager) {
  $this->cropStorage = $entity_type_manager
    ->getStorage('crop');
}