/** * {@inheritdoc} */ public function __construct(EntityTypeInterface $entity_type, EntityStorageInterface $storage, ThemeHandlerInterface $theme_handler) { parent::__construct($entity_type, $storage); $this->themes = $theme_handler->listInfo(); }
/** * Constructs a new ConfigTranslationFieldInstanceListBuilder object. * * @param \Drupal\Core\Entity\EntityTypeInterface $entity_type * The entity type definition. * @param \Drupal\Core\Entity\EntityStorageInterface $storage * The entity storage class. * @param \Drupal\Core\Entity\EntityManagerInterface $entity_manager * The entity manager. */ public function __construct(EntityTypeInterface $entity_type, EntityStorageInterface $storage, EntityManagerInterface $entity_manager) { parent::__construct($entity_type, $storage); $this->entityManager = $entity_manager; }