protected function FieldConfigurationForm::copyFormValuesToEntity in Search API 8
Copies top-level form values to entity properties
This should not change existing entity properties that are not being edited by this form.
Parameters
\Drupal\Core\Entity\EntityInterface $entity: The entity the current form should operate upon.
array $form: A nested array of form elements comprising the form.
\Drupal\Core\Form\FormStateInterface $form_state: The current state of the form.
Overrides EntityForm::copyFormValuesToEntity
File
- src/
Form/ FieldConfigurationForm.php, line 217
Class
- FieldConfigurationForm
- Defines a form for changing a field's configuration.
Namespace
Drupal\search_api\FormCode
protected function copyFormValuesToEntity(EntityInterface $entity, array $form, FormStateInterface $form_state) {
// Our form structure doesn't emulate the entity structure, so copying those
// values wouldn't make any sense.
}