You are here

public function ForwardFormBuilderInterface::buildForwardEntityForm in Forward 8

Same name and namespace in other branches
  1. 8.3 src/ForwardFormBuilderInterface.php \Drupal\forward\ForwardFormBuilderInterface::buildForwardEntityForm()
  2. 8.2 src/ForwardFormBuilderInterface.php \Drupal\forward\ForwardFormBuilderInterface::buildForwardEntityForm()

Builds a Forward inline form for a given entity.

Parameters

\Drupal\Core\Entity\EntityInterface $entity: Entity for which the form is being built.

array $settings: Array of settings.

Return value

array A render array for the form.

1 method overrides ForwardFormBuilderInterface::buildForwardEntityForm()
ForwardFormBuilder::buildForwardEntityForm in src/ForwardFormBuilder.php
Builds a Forward inline form for a given entity.

File

src/ForwardFormBuilderInterface.php, line 23

Class

ForwardFormBuilderInterface
Defines an interface for building a Forward inline form on an entity.

Namespace

Drupal\forward

Code

public function buildForwardEntityForm(EntityInterface $entity, array $settings);