You are here

public function FeedsEntityProcessorPropertyInterface::getFormField in Feeds entity processor 7

Returns a field to insert a value for the property.

Parameters

array $form: The form in which the field will appear.

array $form_state: The form state.

mixed $default: The default value for the field.

Return value

array A Drupal Form API field.

1 method overrides FeedsEntityProcessorPropertyInterface::getFormField()
FeedsEntityProcessorPropertyDefault::getFormField in src/Property/FeedsEntityProcessorPropertyDefault.php
Implements FeedsEntityProcessorPropertyInterface::getFormField().

File

src/Property/FeedsEntityProcessorPropertyInterface.php, line 64
Contains FeedsEntityProcessorPropertyInterface.

Class

FeedsEntityProcessorPropertyInterface
An interface for a Feeds entity property plugin.

Code

public function getFormField(array &$form, array &$form_state, $default);