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