public function ForwardFormBuilderInterface::buildForm in Forward 4.x
Same name and namespace in other branches
- 4.0.x src/Services/ForwardFormBuilderInterface.php \Drupal\forward\Services\ForwardFormBuilderInterface::buildForm()
Builds a Forward form for a given entity.
Parameters
\Drupal\Core\Entity\EntityInterface $entity: Entity for which the form is being built.
boolean $details: TRUE if the form should be built inside a details element.
Return value
array A render array for the form.
1 method overrides ForwardFormBuilderInterface::buildForm()
- ForwardFormBuilder::buildForm in src/
Services/ ForwardFormBuilder.php - Builds a Forward form for a given entity.
File
- src/
Services/ ForwardFormBuilderInterface.php, line 23
Class
- ForwardFormBuilderInterface
- Defines an interface for building a Forward form for an entity.
Namespace
Drupal\forward\ServicesCode
public function buildForm(EntityInterface $entity);