You are here

public function ContentLoaderInterface::loadContentBatch in YAML Content 8.2

Load a batch of content files.

Parameters

array $files: An array of file names for loading content from.

array $options: An array of configuration options to be used during this import.

Return value

array An associative array of loaded content items keyed by file name.

1 method overrides ContentLoaderInterface::loadContentBatch()
ContentLoaderBase::loadContentBatch in src/ContentLoader/ContentLoaderBase.php
Load a batch of content files.

File

src/ContentLoader/ContentLoaderInterface.php, line 32

Class

ContentLoaderInterface
Defines a common interface for content loader implementations.

Namespace

Drupal\yaml_content\ContentLoader

Code

public function loadContentBatch(array $files, array $options = []);