You are here

interface AdorableInterface in Avatar Kit 8

Interface for the Adorable.io API.

Hierarchy

Expanded class hierarchy of AdorableInterface

All classes that implement AdorableInterface

File

avatars_adorable/src/AdorableInterface.php, line 8

Namespace

Drupal\avatars_adorable
View source
interface AdorableInterface {

  /*
   * URL for insecure requests.
   *
   * @var string
   */
  const ADORABLE_HOSTNAME = 'api.adorable.io';

  /*
   * Maximum width images output by the endpoint.
   *
   * @var int
   */
  const DIMENSION_MAXIMUM_WIDTH = 400;

  /*
   * Minimum width images output by the endpoint.
   *
   * @var int
   */
  const DIMENSION_MINIMUM_WIDTH = 40;

}

Members