You are here

public function WebformRequestInterface::hasSourceEntityWebformRoutes in Webform 8.5

Same name and namespace in other branches
  1. 6.x src/WebformRequestInterface.php \Drupal\webform\WebformRequestInterface::hasSourceEntityWebformRoutes()

Check if a source entity has dedicate webform routes.

Parameters

\Drupal\Core\Entity\EntityInterface|null $source_entity: A webform submission's source entity.

Return value

bool TRUE if a source entity has dedicate webform routes.

1 method overrides WebformRequestInterface::hasSourceEntityWebformRoutes()
WebformRequest::hasSourceEntityWebformRoutes in src/WebformRequest.php
Check if a source entity has dedicate webform routes.

File

src/WebformRequestInterface.php, line 168

Class

WebformRequestInterface
Provides an interface defining a webform request handler.

Namespace

Drupal\webform

Code

public function hasSourceEntityWebformRoutes(EntityInterface $source_entity = NULL);