You are here

fusion_apply_test.fusion.inc in Fusion Accelerator 7.2

Same filename and directory in other branches
  1. 7 fusion_apply/tests/fusion_apply_test/fusion_apply_test.fusion.inc

File

fusion_apply/tests/fusion_apply_test/fusion_apply_test.fusion.inc
View source
<?php

/**
 * Implements hook_fusion_apply_skin_info().
 */
function fusion_apply_test_fusion_apply_skin_info() {
  $skins['fusion_apply_test_font'] = array(
    'title' => t('Font family'),
    'type' => 'select',
    'group' => 'typography',
    'theme hooks' => array(
      'block',
      'region',
    ),
    'default status' => 1,
    'attached' => array(
      'css' => array(
        'fusion_apply_test.css',
      ),
      'js' => array(
        'fusion_apply_test.js',
      ),
    ),
    'options' => array(
      'font_1' => array(
        'title' => 'Arial, Helvetica, Nimbus Sans L, Liberation Sans, FreeSans',
        'class' => array(
          'font-1',
        ),
      ),
      'font_2' => array(
        'title' => 'Lucida Grande, Lucida Sans Unicode, DejaVu Sans, Tahoma',
        'class' => array(
          'font-2',
        ),
      ),
    ),
  );
  return $skins;
}