public function WebformEntityReferenceManagerInterface::hasField in Webform 8.5
Same name and namespace in other branches
- 6.x src/WebformEntityReferenceManagerInterface.php \Drupal\webform\WebformEntityReferenceManagerInterface::hasField()
Determine if the entity has a webform entity reference field.
Parameters
\Drupal\Core\Entity\EntityInterface|null $entity: A fieldable content entity.
Return value
bool TRUE if the entity has a webform entity reference field.
1 method overrides WebformEntityReferenceManagerInterface::hasField()
- WebformEntityReferenceManager::hasField in src/
WebformEntityReferenceManager.php - Determine if the entity has a webform entity reference field.
File
- src/
WebformEntityReferenceManagerInterface.php, line 70
Class
- WebformEntityReferenceManagerInterface
- Defines an interface for webform entity manager classes.
Namespace
Drupal\webformCode
public function hasField(EntityInterface $entity = NULL);