You are here

public function Adorable::__construct in Avatar Kit 8

Constructs a new Adorable object.

File

avatars_adorable/src/Adorable.php, line 16

Class

Adorable
Implements the Adorable.io API.

Namespace

Drupal\avatars_adorable

Code

public function __construct() {
  $this
    ->setDimensionConstraints(Adorable::DIMENSION_MINIMUM_WIDTH, Adorable::DIMENSION_MAXIMUM_WIDTH);
}