You are here

public function EditableFieldsHelperInterface::getForm in Editable Fields 1.0.x

Same name and namespace in other branches
  1. 8 src/services/EditableFieldsHelperInterface.php \Drupal\editablefields\services\EditableFieldsHelperInterface::getForm()

Prepares a render array of the editable field form.

Parameters

\Drupal\Core\Entity\EntityInterface $entity: Entity object.

string $field_name: Field name.

string $form_mode: Form mode.

Return value

array Form render array.

1 method overrides EditableFieldsHelperInterface::getForm()
EditableFieldsHelper::getForm in src/services/EditableFieldsHelper.php
Prepares a render array of the editable field form.

File

src/services/EditableFieldsHelperInterface.php, line 86

Class

EditableFieldsHelperInterface
Interface EditableFieldsHelperInterface.

Namespace

Drupal\editablefields\services

Code

public function getForm(EntityInterface $entity, string $field_name, string $form_mode);