public function TestEmbeddedEntityForm::getEntity

Get the entity of this form object.

Return value

\Drupal\Core\Entity\ContentEntityInterface The entity.

File

paragraphs/tests/modules/paragraphs_test/src/Form/TestEmbeddedEntityForm.php, line 42

Class

TestEmbeddedEntityForm
A class to build a form that embeds a content entity form.

Namespace

Drupal\paragraphs_test\Form

Code

public function getEntity() {
  return $this->entity;
}