You are here

interface TextimageFontsHandlerInterface in Textimage 7.3

Fonts handler interface.

Defines the methods that font handling classes have to implement.

Hierarchy

Expanded class hierarchy of TextimageFontsHandlerInterface

All classes that implement TextimageFontsHandlerInterface

File

classes/TextimageFonts.inc, line 90
Textimage - Font management classes.

View source
interface TextimageFontsHandlerInterface {

  /**
   * Get a list of font names.
   *
   * @param array $options
   *   an array of additional options.
   *
   * @return array
   *   Array of font names.
   */
  public function getList($options);

  /**
   * Get the URI of a font file.
   *
   * @param string $font_name
   *   the name of the font.
   * @param array $options
   *   an array of additional options.
   *
   * @return string
   *   the URI of the font file.
   */
  public function getUri($font_name, $options);

}

Members

Namesort descending Modifiers Type Description Overrides
TextimageFontsHandlerInterface::getList public function Get a list of font names. 2
TextimageFontsHandlerInterface::getUri public function Get the URI of a font file. 2