interface ForwardFormBuilderInterface in Forward 8
Same name and namespace in other branches
- 8.3 src/ForwardFormBuilderInterface.php \Drupal\forward\ForwardFormBuilderInterface
- 8.2 src/ForwardFormBuilderInterface.php \Drupal\forward\ForwardFormBuilderInterface
Defines an interface for building a Forward inline form on an entity.
Hierarchy
- interface \Drupal\forward\ForwardFormBuilderInterface
Expanded class hierarchy of ForwardFormBuilderInterface
All classes that implement ForwardFormBuilderInterface
2 files declare their use of ForwardFormBuilderInterface
- ForwardForm.php in src/
Plugin/ DsField/ ForwardForm.php - ForwardFormBlock.php in src/
Plugin/ Block/ ForwardFormBlock.php - Contains \Drupal\forward\Plugin\Block\ForwardFormBlock.
File
- src/
ForwardFormBuilderInterface.php, line 10
Namespace
Drupal\forwardView source
interface ForwardFormBuilderInterface {
/**
* Builds a Forward inline form for a given entity.
*
* @param \Drupal\Core\Entity\EntityInterface $entity
* Entity for which the form is being built.
* @param array $settings
* Array of settings.
*
* @return array
* A render array for the form.
*/
public function buildForwardEntityForm(EntityInterface $entity, array $settings);
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
ForwardFormBuilderInterface:: |
public | function | Builds a Forward inline form for a given entity. | 1 |