You are here

interface ForwardFormBuilderInterface in Forward 8

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

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

Hierarchy

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\forward
View 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

Namesort descending Modifiers Type Description Overrides
ForwardFormBuilderInterface::buildForwardEntityForm public function Builds a Forward inline form for a given entity. 1