function InstallHelper::saveMediaImageId
Saves a Media Image ID generated when saving a media image.
Parameters
int $media_image_csv_id: The media image's ID from the CSV file.
int $media_image_id: Media Image ID generated when saved in the Drupal database.
1 call to InstallHelper::saveMediaImageId()
- InstallHelper::importContentFromFile in core/
profiles/ demo_umami/ modules/ demo_umami_content/ src/ InstallHelper.php  - Imports content.
 
File
- 
              core/
profiles/ demo_umami/ modules/ demo_umami_content/ src/ InstallHelper.php, line 257  
Class
- InstallHelper
 - Defines a helper class for importing default content.
 
Namespace
Drupal\demo_umami_contentCode
protected function saveMediaImageId($media_image_csv_id, $media_image_id) {
  $this->mediaImageIdMap[$media_image_csv_id] = $media_image_id;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.