interface EntityAvatarIdentifierInterface in Avatar Kit 8.2
An entity identifier.
Hierarchy
- interface \Drupal\avatars\EntityAvatarIdentifierInterface extends \dpi\ak\AvatarIdentifierInterface
Expanded class hierarchy of EntityAvatarIdentifierInterface
All classes that implement EntityAvatarIdentifierInterface
1 file declares its use of EntityAvatarIdentifierInterface
- AvatarKitEntityField.php in src/
Plugin/ Avatars/ Service/ AvatarKitEntityField.php
File
- src/
EntityAvatarIdentifierInterface.php, line 11
Namespace
Drupal\avatarsView source
interface EntityAvatarIdentifierInterface extends AvatarIdentifierInterface {
/**
* Get the entity for this identifier.
*
* @return \Drupal\Core\Entity\EntityInterface
* An entity.
*/
public function getEntity() : EntityInterface;
/**
* Set the entity for this identifier.
*
* @param \Drupal\Core\Entity\EntityInterface $entity
* An entity.
*
* @return $this
* This object.
*/
public function setEntity(EntityInterface $entity) : EntityAvatarIdentifierInterface;
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
EntityAvatarIdentifierInterface:: |
public | function | Get the entity for this identifier. | 1 |
EntityAvatarIdentifierInterface:: |
public | function | Set the entity for this identifier. | 1 |