You are here

public function WebformEntityReferenceManagerInterface::getUserWebformId in Webform 6.x

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

Get user specified webform for a source entity.

Parameters

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

Return value

string|null A webform id or NULL.

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

File

src/WebformEntityReferenceManagerInterface.php, line 47

Class

WebformEntityReferenceManagerInterface
Defines an interface for webform entity manager classes.

Namespace

Drupal\webform

Code

public function getUserWebformId(EntityInterface $entity);