function media_acquiadam_get_bundle_asset_id_fields in Media: Acquia DAM 8
Get a list of asset ID fields related to their bundle.
Return value
array An array of media bundles and associated asset ID fields
5 calls to media_acquiadam_get_bundle_asset_id_fields()
- AcquiadamUsageSubscriber::mediaUsageChange in modules/
media_acquiadam_report/ src/ EventSubscriber/ AcquiadamUsageSubscriber.php - This method is called whenever an EntityUsage event is dispatched.
- media_acquiadam_get_active_media_ids in ./
media_acquiadam.module - Returns the list of all active media entity ids.
- media_acquiadam_refresh_asset_sync_notifications_queue in ./
media_acquiadam.module - Adds media items to the asset sync queue for later processing.
- media_acquiadam_report_views_query_alter in modules/
media_acquiadam_report/ media_acquiadam_report.module - Implements hook_views_query_alter().
- media_acquiadam_update_8102 in ./
media_acquiadam.install - Consolidate Acquia DAM bundle source fields to a single field.
File
- ./
media_acquiadam.module, line 388 - Integrates Drupal with Acquia DAM.
Code
function media_acquiadam_get_bundle_asset_id_fields() {
return Drupal::service('media_acquiadam.asset_media.factory')
->getAssetIdFields();
}