You are here

public function FlagListItemInterface::setConnectedEntityId in Flag Lists 8

Same name and namespace in other branches
  1. 4.0.x src/Entity/FlagListItemInterface.php \Drupal\flag_lists\Entity\FlagListItemInterface::setConnectedEntityId()

Sets the entity Id this Flag List Item is connected to.

Parameters

int $entityId: The Entity Id.

Return value

\Drupal\flag_lists\Entity\FlagListItemInterface The called Flag list item entity.

1 method overrides FlagListItemInterface::setConnectedEntityId()
FlagListItem::setConnectedEntityId in src/Entity/FlagListItem.php
Sets the entity Id this Flag List Item is connected to.

File

src/Entity/FlagListItemInterface.php, line 133

Class

FlagListItemInterface
Provides an interface for defining Flag list item entities.

Namespace

Drupal\flag_lists\Entity

Code

public function setConnectedEntityId($entityId);