You are here

public function IndexerBase::build in Drupal 7 to 8/9 Module Upgrader 8

Overrides IndexerInterface::build

1 call to IndexerBase::build()
IndexerBase::bind in src/IndexerBase.php
1 method overrides IndexerBase::build()
FunctionCalls::build in src/Plugin/DMU/Indexer/FunctionCalls.php

File

src/IndexerBase.php, line 73

Class

IndexerBase
Base class for indexers.

Namespace

Drupal\drupalmoduleupgrader

Code

public function build() {

  /** @var \Symfony\Component\Finder\SplFileInfo $file */
  foreach ($this->target
    ->getFinder() as $file) {
    $this
      ->addFile($file
      ->getPathname());
  }
}