Resource functions
Collection functions
Search functions
IIIF
Metadata functions
User functions
System
Message functions
Plugin functions
Share functions
Tab functions
Dash functions

get_dash_search_data

Get images and resource count for a search dash tile. This has to work on a string because the dash tile does not yet exist when on dash creation page. For performance reasons this function will return a maximum of 4 images

Variable Description Data type
$link
Tile link URL string
$promimg Promoted image ref int

Return values

Array containing the count of resources and details of preview images.