public function WebformEntityReferenceManagerInterface::setUserWebformId in Webform 8.5
Same name and namespace in other branches
- 6.x 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\webformCode
public function setUserWebformId(EntityInterface $entity, $webform_id);