public function BackgroundImageForm::setInlineEntity in Background Image 2.0.x
Same name and namespace in other branches
- 8 src/Form/BackgroundImageForm.php \Drupal\background_image\Form\BackgroundImageForm::setInlineEntity()
- 2.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 628
Class
Namespace
Drupal\background_image\FormCode
public function setInlineEntity($inline_entity = NULL) {
$this->inlineEntity = $inline_entity instanceof EntityInterface ? $inline_entity : NULL;
return $this;
}