You are here

public function WebformEntityReferenceManagerInterface::setUserWebformId in Webform 6.x

Same name and namespace in other branches
  1. 8.5 src/WebformEntityReferenceManagerInterface.php \Drupal\webform\WebformEntityReferenceManagerInterface::setUserWebformId()

Set user specified webform for a source entity.

Parameters

\Drupal\Core\Entity\EntityInterface $entity: A fieldable content entity.

string $webform_id: A webform id.

1 method overrides WebformEntityReferenceManagerInterface::setUserWebformId()
WebformEntityReferenceManager::setUserWebformId in src/WebformEntityReferenceManager.php
Set user specified webform for a source entity.

File

src/WebformEntityReferenceManagerInterface.php, line 36

Class

WebformEntityReferenceManagerInterface
Defines an interface for webform entity manager classes.

Namespace

Drupal\webform

Code

public function setUserWebformId(EntityInterface $entity, $webform_id);