public function WebformEntityReferenceManagerInterface::isUserWebformRoute in Webform 6.x
Same name and namespace in other branches
- 8.5 src/WebformEntityReferenceManagerInterface.php \Drupal\webform\WebformEntityReferenceManagerInterface::isUserWebformRoute()
Is the current request a webform route where the user can specify a webform.
Parameters
\Drupal\Core\Entity\EntityInterface $entity: A fieldable content entity.
Return value
bool TRUE if the current request a webform route where the user can specify a webform.
1 method overrides WebformEntityReferenceManagerInterface::isUserWebformRoute()
- WebformEntityReferenceManager::isUserWebformRoute in src/
WebformEntityReferenceManager.php - Is the current request a webform route where the user can specify a webform.
File
- src/
WebformEntityReferenceManagerInterface.php, line 26
Class
- WebformEntityReferenceManagerInterface
- Defines an interface for webform entity manager classes.
Namespace
Drupal\webformCode
public function isUserWebformRoute(EntityInterface $entity);