You are here

public function AvatarKitEntityMap::setFieldName in Avatar Kit 8.2

Set the field name.

Parameters

string|null $field_name: The field name.

Return value

$this This entity mapping for chaining.

Overrides AvatarKitEntityMapInterface::setFieldName

File

src/Entity/AvatarKitEntityMap.php, line 68

Class

AvatarKitEntityMap
Defines the Avatar Kit field mapping entity.

Namespace

Drupal\avatars\Entity

Code

public function setFieldName(?string $field_name) : self {
  $this->field_name = $field_name;
  return $this;
}