You are here

public function YamlFormRequestInterface::getCurrentSourceEntity in YAML Form 8

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 YamlFormRequestInterface::getCurrentSourceEntity()
YamlFormRequest::getCurrentSourceEntity in src/YamlFormRequest.php
Get the current request's source entity.

File

src/YamlFormRequestInterface.php, line 24

Class

YamlFormRequestInterface
Provides an interface defining a form request handler.

Namespace

Drupal\yamlform

Code

public function getCurrentSourceEntity($ignored_types = NULL);