You are here

public function ShareMessage::setExtraFieldEntityType in Share Message 8

Sets the selected entity type.

Parameters

string $extra_field_entity_type: The entity type to be set.

Overrides ShareMessageInterface::setExtraFieldEntityType

File

src/Entity/ShareMessage.php, line 505

Class

ShareMessage
Entity class for the Share Message entity.

Namespace

Drupal\sharemessage\Entity

Code

public function setExtraFieldEntityType($extra_field_entity_type) {
  $this->extra_field_entity_type = $extra_field_entity_type;
}