EntityTypeManager::__construct

public function EntityTypeManager::__construct

public EntityTypeManager::__construct(\Traversable $namespaces, ModuleHandlerInterface $module_handler, CacheBackendInterface $cache, TranslationInterface $string_translation, ClassResolverInterface $class_resolver)

Constructs a new Entity plugin manager.

Parameters

\Traversable $namespaces: An object that implements \Traversable which contains the root paths keyed by the corresponding namespace to look for plugin implementations,

\Drupal\Core\Extension\ModuleHandlerInterface $module_handler: Th