You are here

yaml_content.api.php in YAML Content 8

Same filename and directory in other branches
  1. 8.2 yaml_content.api.php

API functionality for the yaml_content module.

File

yaml_content.api.php
View source
<?php

/**
 * @file
 * API functionality for the yaml_content module.
 */

/**
 * Process imported content after an entire file has been parsed and imported.
 *
 * @param string $content_file
 *   The name of the file that has just finished importing content.
 * @param \Drupal\Core\Entity\EntityInterface[] $loaded_content
 *   An array of loaded entity data from the parsed content data.
 * @param array $content_data
 *   The parsed content array loaded from `$content_file`.
 */
function hook_yaml_content_post_import($content_file, array &$loaded_content, array $content_data) {
}

Functions

Namesort descending Description
hook_yaml_content_post_import Process imported content after an entire file has been parsed and imported.