You are here

public function BackgroundImageFormTrait::setSubformValues in Background Image 8

Same name and namespace in other branches
  1. 2.x src/BackgroundImageFormTrait.php \Drupal\background_image\BackgroundImageFormTrait::setSubformValues()
  2. 2.0.x src/BackgroundImageFormTrait.php \Drupal\background_image\BackgroundImageFormTrait::setSubformValues()

Implements \Drupal\Core\Form\FormStateInterface::setValues()

File

src/BackgroundImageFormTrait.php, line 655

Class

BackgroundImageFormTrait
Trait BackgroundImageFormTrait.

Namespace

Drupal\background_image

Code

public function setSubformValues(array $values) {
  $existing_values =& $this
    ->getSubformValues();
  $existing_values = $values;
  return $this;
}