public function BackgroundImageFormTrait::setForm in Background Image 8
Same name and namespace in other branches
- 2.x src/BackgroundImageFormTrait.php \Drupal\background_image\BackgroundImageFormTrait::setForm()
- 2.0.x src/BackgroundImageFormTrait.php \Drupal\background_image\BackgroundImageFormTrait::setForm()
Sets the form.
Parameters
array $form: The complete form render array, passed by reference.
Return value
self
File
- src/
BackgroundImageFormTrait.php, line 602
Class
- BackgroundImageFormTrait
- Trait BackgroundImageFormTrait.
Namespace
Drupal\background_imageCode
public function setForm(array &$form) {
$this->form =& $form;
return $this;
}