You are here

function hook_yaml_content_post_import in YAML Content 8

Process imported content after an entire file has been parsed and imported.

Parameters

string $content_file: The name of the file that has just finished importing content.

\Drupal\Core\Entity\EntityInterface[] $loaded_content: An array of loaded entity data from the parsed content data.

array $content_data: The parsed content array loaded from `$content_file`.

1 invocation of hook_yaml_content_post_import()
ContentLoader::loadContent in src/ContentLoader/ContentLoader.php
Load all demo content for this loader.

File

./yaml_content.api.php, line 18
API functionality for the yaml_content module.

Code

function hook_yaml_content_post_import($content_file, array &$loaded_content, array $content_data) {
}