You are here

function _views_timelinejs_list_font_sets in Views TimelineJS integration 8.3

Same name and namespace in other branches
  1. 7.3 views_timelinejs.module \_views_timelinejs_list_font_sets()

Returns an array of font set options that are supported by TimelineJS3.

Return value

array An array of font set names, keyed by the name section of the set's CSS filename, i.e. 'font.set-name.css'.

3 calls to _views_timelinejs_list_font_sets()
TimelineJS::buildOptionsForm in src/Plugin/views/style/TimelineJS.php
Provide a form to edit options for this plugin.
views_timelinejs_library_info_alter in ./views_timelinejs.module
Implements hook_library_info_alter().
views_timelinejs_library_info_build in ./views_timelinejs.module
Implements hook_library_info_build().

File

./views_timelinejs.module, line 110
Views TimelineJS API, theming, libraries, etc.

Code

function _views_timelinejs_list_font_sets() {
  return [
    'abril-droidsans' => 'Abril Fatface & Droid Sans',
    'amatic-andika' => 'Amatic & Andika',
    'bevan-pontanosans' => 'Bevan & Pontano Sans',
    'bitter-raleway' => 'Bitter & Raleway',
    'clicker-garamond' => 'Clicker & Garamond',
    'dancing-ledger' => 'Dancing & Ledger',
    'default' => 'Default',
    'fjalla-average' => 'Fjalla & Average',
    'georgia-helvetica' => 'Georgia & Helvetica',
    'knightlab' => 'Knight Lab',
    'lustria-lato' => 'Lustria Lato',
    'medula-lato' => 'Medula One & Lato',
    'oldstandard' => 'Old Standard',
    'opensans-gentiumbook' => 'Open Sans & Gentium Book Basic',
    'playfair-faunaone' => 'Playfair & Fauna One',
    'playfair' => 'Playfair SC & Playfair',
    'pt' => 'PT Sans / PT Serif / PT Sans Narrow',
    'roboto-megrim' => 'Roboto Slab & Megrim',
    'rufina-sintony' => 'Rufina & Sintony',
    'ubuntu' => 'Ubuntu',
    'unicaone-vollkorn' => 'Unica One & Vollkorn',
  ];
}