public function WebformEntityReferenceManagerInterface::getFieldName in Webform 8.5
Same name and namespace in other branches
- 6.x src/WebformEntityReferenceManagerInterface.php \Drupal\webform\WebformEntityReferenceManagerInterface::getFieldName()
Get an entity's webform field name.
Parameters
\Drupal\Core\Entity\EntityInterface $entity: A fieldable content entity.
Return value
string The name of the webform field or an empty string.
1 method overrides WebformEntityReferenceManagerInterface::getFieldName()
- WebformEntityReferenceManager::getFieldName in src/
WebformEntityReferenceManager.php - Get an entity's webform field name.
File
- src/
WebformEntityReferenceManagerInterface.php, line 81
Class
- WebformEntityReferenceManagerInterface
- Defines an interface for webform entity manager classes.
Namespace
Drupal\webformCode
public function getFieldName(EntityInterface $entity = NULL);