public function EntityAvatarIdentifierInterface::setEntity in Avatar Kit 8.2
Set the entity for this identifier.
Parameters
\Drupal\Core\Entity\EntityInterface $entity: An entity.
Return value
$this This object.
1 method overrides EntityAvatarIdentifierInterface::setEntity()
- EntityAvatarIdentifier::setEntity in src/
EntityAvatarIdentifier.php - Set the entity for this identifier.
File
- src/
EntityAvatarIdentifierInterface.php, line 30
Class
- EntityAvatarIdentifierInterface
- An entity identifier.
Namespace
Drupal\avatarsCode
public function setEntity(EntityInterface $entity) : EntityAvatarIdentifierInterface;