public function BackgroundImageForm::setInlineEntity in Background Image 8
Same name and namespace in other branches
- 2.x src/Form/BackgroundImageForm.php \Drupal\background_image\Form\BackgroundImageForm::setInlineEntity()
- 2.0.x src/Form/BackgroundImageForm.php \Drupal\background_image\Form\BackgroundImageForm::setInlineEntity()
Sets the inline entity.
Parameters
\Drupal\Core\Entity\EntityInterface $inline_entity: The inline entity.
Return value
self
File
- src/
Form/ BackgroundImageForm.php, line 626
Class
Namespace
Drupal\background_image\FormCode
public function setInlineEntity($inline_entity = NULL) {
$this->inlineEntity = $inline_entity instanceof EntityInterface ? $inline_entity : NULL;
return $this;
}