protected function HomeboxLayoutDeleteForm::copyFormValuesToEntity in Homebox 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/ HomeboxLayoutDeleteForm.php, line 59
Class
- HomeboxLayoutDeleteForm
- Provides a form for deleting Homebox Layout entities.
Namespace
Drupal\homebox\FormCode
protected function copyFormValuesToEntity(EntityInterface $entity, array $form, FormStateInterface $form_state) {
// This throws exception on submit.
}