Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. EntityDataRepository.php

function EntityDataRepository::__construct

File

vendor/mglaman/phpstan-drupal/src/Drupal/EntityDataRepository.php, line 17

Class

EntityDataRepository

Namespace

mglaman\PHPStanDrupal\Drupal

Code

public function __construct(array $entityMapping) {
    foreach ($entityMapping as $entityTypeId => $entityData) {
        $this->entityData[$entityTypeId] = new EntityData($entityTypeId, $entityData);
    }
}

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal