Function Hook_CMA->get_image_url

Definitions

sources/content.php

  • Get content image URL for a content row.
  • Visibility: public
  • Is abstract?: No
  • Is static?: No
  • Is final?: No
  • Return: string

Parameters

Name Type Default Set Range Description
$row array required parameter N/A N/A The database row for the content
$fallback_method integer 0 N/A N/A Whether to provide a default image if there is no real image, a IMAGE_URL_FALLBACK_* constant
$has_fallen_back boolean False N/A N/A Returned by reference, set if the image returned is a fallback image

Return

  • Image URL (blank: none)
  • Type: URLPATH
  • Set: N/A
  • Range: N/A