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