protected function MediaForm::setEntity in GridStack 8.2
Returns the current entity.
1 call to MediaForm::setEntity()
- MediaForm::getEntityData in src/
Plugin/ gridstack/ stylizer/ MediaForm.php - Return available entity data.
File
- src/
Plugin/ gridstack/ stylizer/ MediaForm.php, line 88
Class
- MediaForm
- Provides the media form for Layout Builder integration.
Namespace
Drupal\gridstack\Plugin\gridstack\stylizerCode
protected function setEntity($entity) {
$this->entity = $entity;
return $this;
}