You are here

public function ConfigurablePropertyInterface::buildConfigurationForm in Search API 8

Constructs a configuration form for a field based on this property.

Parameters

\Drupal\search_api\Item\FieldInterface $field: The field for which the configuration form is constructed.

array $form: An associative array containing the initial structure of the form.

\Drupal\Core\Form\FormStateInterface $form_state: The current state of the complete form.

Return value

array The form structure.

3 methods override ConfigurablePropertyInterface::buildConfigurationForm()
AddURLProperty::buildConfigurationForm in src/Plugin/search_api/processor/Property/AddURLProperty.php
Constructs a configuration form for a field based on this property.
AggregatedFieldProperty::buildConfigurationForm in src/Plugin/search_api/processor/Property/AggregatedFieldProperty.php
Constructs a configuration form for a field based on this property.
RenderedItemProperty::buildConfigurationForm in src/Plugin/search_api/processor/Property/RenderedItemProperty.php
Constructs a configuration form for a field based on this property.

File

src/Processor/ConfigurablePropertyInterface.php, line 34

Class

ConfigurablePropertyInterface
Represents a processor-defined property with additional configuration.

Namespace

Drupal\search_api\Processor

Code

public function buildConfigurationForm(FieldInterface $field, array $form, FormStateInterface $form_state);