You are here

function media_acquiadam_preprocess_checkboxes__acquiadam_assets in Media: Acquia DAM 8

Implements hook_preprocess_HOOK().

Allow custom markup for acquiadam asset checkboxes.

File

./media_acquiadam.module, line 82
Integrates Drupal with Acquia DAM.

Code

function media_acquiadam_preprocess_checkboxes__acquiadam_assets(&$variables) {
  $element = $variables['element'];
  $variables['children'] = $element['#children'];
  $variables['element']['#theme'] = 'checkboxes__acquiadam_assets';
}