You are here

public function WebformRequestInterface::getCurrentSourceEntity in Webform 6.x

Same name and namespace in other branches
  1. 8.5 src/WebformRequestInterface.php \Drupal\webform\WebformRequestInterface::getCurrentSourceEntity()

Get the current request's source entity.

Parameters

string|array $ignored_types: (optional) Array of ignore entity types.

Return value

\Drupal\Core\Entity\EntityInterface|null The current request's source entity.

1 method overrides WebformRequestInterface::getCurrentSourceEntity()
WebformRequest::getCurrentSourceEntity in src/WebformRequest.php
Get the current request's source entity.

File

src/WebformRequestInterface.php, line 29

Class

WebformRequestInterface
Provides an interface defining a webform request handler.

Namespace

Drupal\webform

Code

public function getCurrentSourceEntity($ignored_types = NULL);