function media_acquiadam_get_folder in Media: Acquia DAM 7
Load a Folder asset.
Parameters
int|array $id: An asset ID or the asset data.
array $depends: An array of dependencies to pass to the class constructors.
bool $skipCache: TRUE to skip the cache mechanism.
Return value
AcquiaDAM_Assets_AbstractAsset|false A AcquiaDAM_Assets_AbstractAsset object or FALSE.
2 calls to media_acquiadam_get_folder()
- media_acquiadam_browser_get_children in modules/
media_acquiadam_browser/ includes/ media_acquiadam_browser.helpers.inc - Get the child assets of a given folder.
- media_acquiadam_browser_get_trail in modules/
media_acquiadam_browser/ includes/ media_acquiadam_browser.helpers.inc - Gets the parent hierarchy of the given folder.
File
- includes/
media_acquiadam.helpers.inc, line 112 - Helper functions for working with Acquia DAM within Drupal.
Code
function media_acquiadam_get_folder($id, array $depends = [], $skipCache = FALSE) {
return media_acquiadam_get_helper('folder', $id, $depends, $skipCache);
}