You are here

public function AvatarPreviewInterface::setScope in Avatar Kit 8

Sets the scope of the avatar preview.

Parameters

int $scope: Value of a \Drupal\avatars\AvatarPreviewInterface::SCOPE_* constant.

Return value

\Drupal\avatars\AvatarPreviewInterface Return avatar preview for chaining.

1 method overrides AvatarPreviewInterface::setScope()
AvatarPreview::setScope in src/Entity/AvatarPreview.php
Sets the scope of the avatar preview.

File

src/AvatarPreviewInterface.php, line 154

Class

AvatarPreviewInterface
Provides an interface for the avatar preview entity.

Namespace

Drupal\avatars

Code

public function setScope($scope);