ImportBannerLinks
Trait to handle the importer for banner links in the `Import` class.
Table of Contents
Methods
- doImportBannerLinks() : mixed
- Import banner links from JSON.
- handleCorruptBannerLink() : mixed
- Check missing meta of passed banner link.
Methods
doImportBannerLinks()
Import banner links from JSON.
protected
doImportBannerLinks(array<string|int, mixed> $bannerLinks) : mixed
Parameters
- $bannerLinks : array<string|int, mixed>
handleCorruptBannerLink()
Check missing meta of passed banner link.
protected
handleCorruptBannerLink(array<string|int, mixed> $bannerLink, int $index) : mixed
Parameters
- $bannerLink : array<string|int, mixed>
- $index : int